https://prefect.io logo
w

Wei Mei

03/25/2022, 7:12 PM
Hilo, hopefuly simply question. When I write my code password=Secret(“PREFECT_PW”).get(), how do I test this when i run it locally?
k

Kevin Kho

03/25/2022, 7:13 PM
You can either force local execution to pull from Prefect Cloud with
Copy code
export PREFECT__CLOUD__USE_LOCAL_SECRETS=false
or you can put a corresponding local secret in your
config.toml
to pull
gratitude thank you 1
w

Wei Mei

03/25/2022, 7:14 PM
Thanks Kevin! Have a great weekend.
k

Kevin Kho

03/25/2022, 7:14 PM
Of course!
7 Views