Harry Baker
07/16/2021, 8:11 PMexport PREFECT__CONTEXT__SECRETS__AWS_CREDENTIALS='{"ACCESS_KEY": "abcdef", "SECRET_ACCESS_KEY": "ghijklmn"}'
to the secrets context--could I do this in the prefect config toml file? That's where I was storing my other secret keys using prefect.config.api.XXX. This probably isn't the 'best' way to do this in production, but I'm used to using dotenv and os to just use a .env to pass in secret values.Harry Baker
07/16/2021, 8:14 PMnicholas
# ~/.prefect/config.toml
[context.secrets]
AWS_CREDENTIALS='{"ACCESS_KEY": "abcdef", "SECRET_ACCESS_KEY": "ghijklmn"}'
nicholas
Harry Baker
07/16/2021, 8:15 PMnicholas
Harry Baker
07/16/2021, 9:08 PMnicholas