Hi, I’ve just started testing out prefect 2.0 but ...
# prefect-community
n
Hi, I’ve just started testing out prefect 2.0 but I can’t find secrets, are they not there anymore?
k
Not yet. You’d need to use environment variables
n
can I set them in profiles.toml?
k
YEs with:
Copy code
import prefect.settings
prefect.settings.PREFECT_HOME.value()
as seen here
n
thanks
z
You won’t be able to reuse settings for custom variables, I believe we ban unknown keys at the moment.
Formal support for secrets is coming, but not available yet.
d
@Zanie will it be in the next beta?
z
Not likely, we’re working on some important design that needs to happen first still.
d
Ok thank you for the reply. Looking forward to see that feature