sops
sops copied to clipboard
'az' is not recognized as an internal or external command
I am using sops with Terraform and have the same issue as in #818
│ Error: Failed to get the data key required to decrypt the SOPS file.
│
│ Group 0: FAILED
│ https://xxxxxxxx.vault.azure.net/keys/sops-key/xxxxxxxxxxxx: FAILED
│ - | Invoking Azure CLI failed with the following error: 'az' is
│ | not recognized as an internal or external command,
│ | operable program or batch file.
│
│
│ Recovery failed because no master key was able to decrypt the file. In
│ order for SOPS to recover the file, at least one key has to be successful,
│ but none were.
Calling az
works fine and
hich az
/c/Program Files/Microsoft SDKs/Azure/CLI2/wbin/az
The difference to [#818] is, that az is installed with msi not SOPS