https://pulumi.com logo
#getting-started
Title
# getting-started
b

better-noon-15962

09/03/2021, 12:33 PM
Hi guys, is there a way to force using a secret-provider when initializing a stack? Ex, when executing
pulumi stack init my-stack
to use
<hashivault://my-secret>
by default without having to specify
--secrets-provider="<hashivault://payroll>"
everytime. Or is there a way to prevent initializing a stack using the passphrase strategy? Thanks!
g

great-sunset-355

09/03/2021, 1:59 PM
I'd say you could achieve this via
automation API
otherwise I do not think there is an option for that. I was also looking to set some default options to a subcommand via
Pulumi.yaml
but no luck.
🙏 1
3 Views