You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I (and others) would love to see this. Our ops team wants us to avoid writing arbitrary flat files as a part of the deploy process, and we can't check in secrets to our repositories.
Specifying a path to a valid profiles.yml file
This seems little different than the --profiles-dir option. While not a bad idea, it doesn't solve the problem
Specifying a JSON blob containing valid profiles info
This would definitely work, but might get unwieldy depending on how many connections you have
This again could get hairy if you have multiple connections, but it's closest to what I have in mind. I could also imagine something where in a secrets-free profiles.yml, there's a pass-env-var-name: key that lets you pluck that secret for an arbitrary environment variable.
If we parse the profiles.yml file as jinja code, we could put an env function into the jinja context. Then you could somewhat naturally pull in arbitrarily named environment variables. Eg:
This could work by:
profiles.yml
fileprofiles
infoThe text was updated successfully, but these errors were encountered: