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.
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.