Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'az' is not recognized as an internal or external command #1430

Open
papanito opened this issue Feb 5, 2024 · 0 comments
Open

'az' is not recognized as an internal or external command #1430

papanito opened this issue Feb 5, 2024 · 0 comments

Comments

@papanito
Copy link

papanito commented Feb 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant