Brian Phillips
09/13/2021, 7:01 PMAWS_CREDENTIALS
secret? I'm having trouble setting credentials so that tasks are able to write with S3Result. This pattern does not seem to work either
aws_credentials = PrefectSecret('AWS_CREDENTIALS')
with prefect.context(secrets={'AWS_CREDENTIALS': aws_credentials}):
<task>
Kevin Kho
flow.storage = S3(bucket="my-flows", secrets=["AWS_CREDENTIALS"])
to put it in the contextBrian Phillips
09/13/2021, 7:11 PMKevin Kho
"PREFECT__CLOUD__USE_LOCAL_SECRETS": "false"
to pull secrets from Cloud