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
Kevin Kho
02/15/2022, 10:59 PM
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
brian
02/15/2022, 11:01 PM
No, I’m just wanting to run it locally and pass in the secret myself
brian
02/15/2022, 11:04 PM
It sounds like I can set them locally through my env?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.