Florian Guily
03/24/2022, 10:48 AMKevin Kho
with Flow(...)
PrefectSecret("Something")()
Anna Geller
from prefect.tasks.secrets import PrefectSecret
print(PrefectSecret("A_PASSWORD_DEV").run())
You may need to set this env variable beforehand:
export PREFECT__CLOUD__USE_LOCAL_SECRETS=false