-
Hi there, I have a question about the use of local secrets placed in the config.toml file. Is it right, that if I register the flow to another instance the local secrets form my config.toml are attached to the flow? And if I execute the flow it runs with the secret values of my config.toml instead of the values of the other instance? And even if I use it fully local, the flow needs to re-registered after changing the secrets? I ask because the docs are not clear to me in that point:
Thanks + BR |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @sti0
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.
This is also not the case. The secrets are pulled by the flow at runtime. |
Beta Was this translation helpful? Give feedback.
Hi @sti0
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.
This is also not the case. The secrets are pulled by the flow at runtime.