Hello, I have a problem with the passphrase. It di...
# general
g
Hello, I have a problem with the passphrase. It did not prompt for the second time when I did the 
pulumi up
 . It actually forced me to set up the pass-phrase when I created the stack.  It is throwing me the following error.
Copy code
constructing secrets manager of type "passphrase": unable to find either `PULUMI_CONFIG_PASSPHRASE` or `PULUMI_CONFIG_PASSPHRASE_FILE` when trying to access the Passphrase Secrets Provider; please ensure one of these environment variables is set to allow the operation to continue
b
I'm not sure I understand your issue. Just set
PULUMI_CONFIG_PASSPHRASE
to the passphrase you've initially set up and you'll be good to go
g
Its not prompting me for the 2nd time when I do pulumi up.
b
It should not prompt you, it only does so when initializing
g
so can you help me with the steps to resolve this?
b
I don't understand your issue
do you know how to set environment variables?
g
no. I know how to set them on windows.
b
which OS are you on?
g
mac
b
Assuming you're using bash, and your password is
foo
, you can either use the password on every command:
PULUMI_CONFIG_PASSPHRASE=foo pulumi up
or set it for the current shell:
Copy code
export PULUMI_CONFIG_PASSPHRASE=foo
pulumi up
g
okay will try that.
b
if you want to set it permanently, you'll have to add it to your
bash_profile
, but I would highly recommend reading up on environment variables and bash
g
Thanks
👍 1
Its working Thank you.
😃 1