https://prefect.io logo
#prefect-server
Title
# prefect-server
l

Liam England

03/11/2022, 6:12 PM
Hi, Wondering what the best practice would be for making secrets available to flow runs picked up by Docker Agents? Specifically looking at the
SLACK_WEBHOOK_URL
at the moment and have tried setting it as an environment variable for the agent, as well as adding it to the config.toml on the machine hosting prefect server but I'm still seeing
ValueError: Local Secret "SLACK_WEBHOOK_URL" was not found.
a

Anna Geller

03/11/2022, 6:14 PM
l

Liam England

03/11/2022, 6:20 PM
Ah, I was missing the
PREFECT__ CONTEXT__SECRETS
prefix. Thank you!
👍 1
2 Views