-
Notifications
You must be signed in to change notification settings - Fork 84
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
Ksops doesnt recognize az login #231
Comments
🤖 Based on your description, it seems like the issue is related to the way KSOPS is interacting with the Azure CLI session. KSOPS relies on SOPS for decryption, and SOPS supports various KMS providers including Azure Key Vault. To resolve this issue, you can follow these steps:
creation_rules:
- azure_keyvault: "azure-keyvault-name"
By ensuring that SOPS is configured to use Azure Key Vault and that the Azure CLI session is correctly authenticated and recognized, KSOPS should be able to decrypt the resources using the session created by If you're still encountering issues after following these steps, could you provide more details about your setup? Specifically, it would be helpful to know more about your Sources
|
With sops, we can doing a "az login --use-device-code", and therefore use the command sops -d file to decrypt the content of that file.
However, with ksops, doing "az login --use-device-code" and after doing kustomize build overlay --enable-alpha-plugins doesnt work because it seem sops doesnt recognize the session open with az login --use-device-code executed before.
We would try to execute kustomize build --enable-alpha-plugins with ksops without azure service principal configured with environnement variables.
The text was updated successfully, but these errors were encountered: