Rotating a passphrase requires that the old passphrase is available via one of the `PULUMI_CONFIG_PASSPHRASE` or `PULUMI_CONFIG_PASSPHRASE_FILE` environment variables. This confuses `readPassphrase` when reading a new passphrase, since that function checks the aforementioned environment variables prior to reading from the console. The overall effect is that it is impossible to rotate the passphrase for a stack using the passphrase provider. These changes fix this by always reading from the console when rotating a passphrase. |
||
---|---|---|
.. | ||
args.go | ||
child.go | ||
child_windows.go | ||
console.go | ||
console_password.go | ||
diag.go | ||
exit.go | ||
profile.go | ||
spinner.go | ||
trace.go |