hello. what's the right way to manage environment ...
# prefect-getting-started
f
hello. what's the right way to manage environment variables in Prefect ? I generally use decouple to make my environment variables very explicit and the transition between local development and deployment, straightforward. It does not seem to work with Prefect though (Prefect flows don't seem to have access to environment variables through the decouple machinery). I've been reading the docs and the closest thing I could find to covering environment variables is the how-to doc on profile&settings ? Is that the right path ?
n
hi @Fran - when you have a deployment, you can set
env
that flow runs from that deployment should have access to see these docs when running flows that are not deployed, all the standard python mechanics would be true, that is, you need to somehow set an env var if you want it to be available