Egbert Ypma
10/25/2019, 3:03 PMChris White
10/25/2019, 3:16 PMACCESS_KEY
and a SECRET_ACCESS_KEY
which you can get from your AWS console
- once you have those, put them in a dictionary like: credentials = dict(ACCESS_KEY=my_key, SECRET_ACCESS_KEY=my_secret_key)
- this credentials dictionary now needs to be placed in `prefect.context.secrets`; you can do that directly: prefect.context.secrets["AWS_CREDENTIALS"] = credentials
- or indirectly by JSON-serializing the dictionary and storing it under the environment variable PREFECT__CONTEXT__SECRETS__AWS_CREDENTIALS=jsonified-dictionary
Egbert Ypma
10/25/2019, 4:09 PM