Join Slack
Channels
ask-community
announcements
ask-marvin
best-practices
data-ecosystem
data-tricks-and-tips
events
feedback-deployment-concurrency
find-a-prefect-job
geo-bay-area
geo-berlin
geo-boston
geo-chicago
geo-colorado
geo-dc
geo-israel
geo-japan
geo-london
geo-nyc
geo-seattle
geo-texas
gratitude
introductions
intros-test
livestream-chatter
marvin-ai
marvin-in-the-wild
pacc-apr-10-11-2024
pacc-apr-30-may-1-2024
pacc-apr-9-10-2025
pacc-aug-16-2023
pacc-aug-22-23-2023
pacc-aug-28-29-2024
pacc-aug-29-30-2023
pacc-clearcover-june-12-2023
pacc-dec-17-18-2024
pacc-feb-13-14-2024
pacc-feb-26-27-2025
pacc-jan-28-29-2025
pacc-july-11-12-2023
pacc-july-17-18-2023
pacc-july-30-31-2024
pacc-july-6-2023
pacc-june-14-2023
pacc-june-20-21-2024
pacc-london-2023
pacc-london-sept-2024
pacc-mar-12-13-2024
pacc-may-31-2023
pacc-nov-19-20-2024
pacc-nov-8-2023
pacc-nyc-may-2024
pacc-oct-11-12-2023
pacc-oct-1-2-2024
pacc-oct-16-17-2024
pacc-sept-13-14-2023
pacc-sept-20-21-2023
pacc-sept-26-27-2023
ppcc-may-16-2023
prefect-ai
prefect-aws
prefect-azure
prefect-cloud
prefect-contributors-archived
prefect-dbt
prefect-docker
prefect-gcp
prefect-getting-started
prefect-integrations
prefect-kubernetes
prefect-recipes
prefect-server
prefect-ui
random
show-and-tell
Powered by
Hi, I’ve just started testing out prefect 2.0 but ...
# ask-community
n
Niclas Roos
04/21/2022, 5:36 PM
Hi, I’ve just started testing out prefect 2.0 but I can’t find secrets, are they not there anymore?
k
Kevin Kho
04/21/2022, 5:37 PM
Not yet. You’d need to use environment variables
n
Niclas Roos
04/21/2022, 5:39 PM
can I set them in profiles.toml?
k
Kevin Kho
04/21/2022, 5:46 PM
YEs with:
Copy code
import prefect.settings prefect.settings.PREFECT_HOME.value()
as seen
here
n
Niclas Roos
04/21/2022, 5:49 PM
thanks
z
Zanie
04/21/2022, 6:09 PM
You won’t be able to reuse settings for custom variables, I believe we ban unknown keys at the moment.
Zanie
04/21/2022, 6:09 PM
Formal support for secrets is coming, but not available yet.
d
davzucky
04/22/2022, 1:08 PM
@Zanie
will it be in the next beta?
z
Zanie
04/22/2022, 3:10 PM
Not likely, we’re working on some important design that needs to happen first still.
d
davzucky
04/23/2022, 12:31 AM
Ok thank you for the reply. Looking forward to see that feature
5
Views
Open in Slack
Previous
Next