Sumit Kumar Rai
06/17/2021, 3:39 AMfrom prefect.client import Secret
GITHUB_ACCESS_TOKEN = Secret("GITHUB_ACCESS_TOKEN").get()
Kevin Kho
PREFECT__CLOUD__USE_LOCAL_SECRETS=false
Sumit Kumar Rai
06/17/2021, 3:51 AMSumit Kumar Rai
06/17/2021, 3:52 AMKevin Kho
Amanda Wee
06/17/2021, 4:17 AMKevin Kho
Sumit Kumar Rai
06/17/2021, 7:44 AMAmanda Wee
06/17/2021, 7:50 AMFor Cloud users, if the secret is not found in local context and config.cloud.use_local_secrets=False, the base Secret class queries the Prefect Cloud API for a stored secret.
Amanda Wee
06/17/2021, 7:50 AMAmanda Wee
06/17/2021, 7:51 AM