Is there an easy way to get my secrets from local ...
# ask-community
s
Is there an easy way to get my secrets from local .env file into Prefect Cloud?
k
Probably the easiest is loading it in and using this:
Copy code
from prefect import Client

client = Client()
client.set_secret(name="MYSECRET", value="MY SECRET VALUE")
s
And I assume I have to do that every time I register my flow with new updates?
k
I don’t see why if the secrets stay the same?