https://prefect.io logo
Title
y

Yury Cheremushkin

06/29/2022, 7:45 PM
Hi! Small question about Prefect 2.0. Is there any concept similar to Secrets in Prefect 1.0? I used to store all my secrets in
config.toml
and access them via Secrets API or
prefect.context.secrets.get()
. But I can't find anything similar in 2.0
1
r

redsquare

06/29/2022, 9:02 PM
the only secret related thing I could find
r

Rajvir Jhawar

06/29/2022, 11:27 PM
If you go to: https://orion-docs.prefect.io/collections/catalog/ and select you cloud provider there should be information about the secret managers that you can interface with. Generally though i don't think prefect 2 has generic secret concept yet or the ability to store secrets using the prefect cloud. I could be wrong. Hopefully the prefect devs can chime in here
k

Kevin Kho

06/30/2022, 8:44 AM
No equivalent yet because it will be released along with other work (but part of general availability)
Yeah if you are on AWS, you could use their secret manager
y

Yury Cheremushkin

06/30/2022, 2:13 PM
ok, thanks. cloud secrets can be a solution, but its not for free and +1 thing to rewrite in flows from prefect 1.0