Hi prefectionists, I have a question about running...
# ask-community
b
Hi prefectionists, I have a question about running a flow locally with the CLI. I’ve been using
--param
to set parameters locally. I’ve just started working on a flow that will depend on a prefect secret, and would love to be able to set a value for the secret locally. Is there a way to do this? My naive hope was that
prefect run
would have a
--secret
flag similar to --param but this doesn’t seem to be the case
k
It doesnt….but I think that would defeat the purpose too if you had to pass it like that. Are you doing something like pulling a different secret per environment (dev, stating, prod)?
b
No, I’m just wanting to run it locally and pass in the secret myself
It sounds like I can set them locally through my env?
k
Yeah you can set local secrets