Skip to content

FR: Allow reading credentials.profiles from a file #171

@jinnatar

Description

@jinnatar

Is your feature request related to a problem? Please describe.
Quoting and escaping quoting can get really complex when json or yaml needs to be passed through multiple layers. Forcing the credentials profile data to be fed in only as a cli argument causes this pain. The only somewhat sane way out of it is to create essentially a minified json definition, which makes it very hard for a human to read or produce correctly on the first try.

Describe the solution you'd like
Provide a cli flag that allows specifying a file from which to read the json or yaml profiles definition.

Additional context
I'm rendering the data anyway, but it's significantly easier and more readable to heredoc render a file than it is to feed it correctly quoted to a cli argument as super condensed json.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions