Hi! This is Michelle from Hong Kong. Lately, I've ...
# prefect-community
m
Hi! This is Michelle from Hong Kong. Lately, I've been trying to migrate services from Airflow to Prefect. One of the functions of Airflow we use is Admin > Connections, where we store parameters of different connections (ex. databases). I wonder if there is a similar function to use in Prefect? I've been getting through official documents, viewing concepts of "Secrets" etc., but haven't been able to locate a concrete answer...
a
Hi Michelle, I believe you can configure
Secrets
from the Prefect Cloud UI at https://cloud.prefect.io/team/secrets. You can then use the
Secret
task from here https://docs.prefect.io/core/concepts/secrets.html#overview. Personally, we don’t use these type of Secrets, we use the EnvVarSecret and then store all the secrets as env vars within our environment (in our case we use a custom yaml for k8s jobs that references all the secrets we need)
m
Perfect, Thank you!!!