Anyone know if we can pass a password at time of E...
# troubleshooting
d
Anyone know if we can pass a password at time of ELT command? meltano elt tap-postgres --password HERE target-snowflake
v
Yes, check out https://docs.meltano.com/guide/configuration#configuring-settings . Environment variables can be set 🙂
d
ahh got it so we could do something like
Copy code
EXPORT TAP_POSTGRES__PASSWORD=HERE && meltano elt tap-postgres target-snowflake
I am sure the above isnt perfect syntaxically but directionally
ty!
ok so i asked this question and you were perfect in answering it but is there a better way to put PW in a docker image that can then be called by airflows DockerOperator?
prob best to call the
environment={key: value}
part of that operator
piping the value from maybe an airflow variable
v
I'm no airflow pro, but generally yes orchestrators pass secrets via environment variables to the process that's consuming the secrets
d
coolio!
ty again