Xavier Witdouck
05/18/2022, 4:35 PMKevin Kho
05/18/2022, 5:25 PMflow.run()
, it will use local secrets by default. If you register and run on Cloud, it will use the Cloud secrets. To use Cloud secrets on flow.run()
, you can export the env var
PREFECT__CLOUD__USE_LOCAL_SECRETS=false
and this will use the Cloud secret. You can also add it in the config.toml