Skip to content

Use of local secrets #4060

Answered by zanieb
sti0 asked this question in Q&A
Feb 3, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @sti0

Is it right, that if I register the flow to another instance the local secrets form my config.toml are attached to the flow?

This is not the case. That instance will need the secrets stored in its local config. If you are using Prefect Cloud, you can store them in a secure vault and add secrets via the UI/API--then they will be available everywhere.

And even if I use it fully local, the flow needs to re-registered after changing the secrets?

This is also not the case. The secrets are pulled by the flow at runtime.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sti0
Comment options

Answer selected by sti0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants