zendesk / helm-secrets

DEPRECATED A helm plugin that help manage secrets with Git workflow and store them anywhere
Apache License 2.0
1.16k stars 155 forks source link

Feature request: Read secrets from an azure key vault #79

Open spotlesscoder opened 5 years ago

spotlesscoder commented 5 years ago

I'd like to retrieve my secrets from an Azure Key Vault

claytondus commented 5 years ago

sops version needs to be bumped, support was added in 3.1.0, latest is 3.2.0.

svparijs commented 5 years ago

Is this still on going? I was trying this: https://github.com/mozilla/sops#encrypting-using-azure-key-vault

Made a .sops.yaml:

creation_rules:
  - azure_kv: <redacted>

My secrets.yaml version says:

sops:
    kms: []
    gcp_kms: []
    azure_kv: []
    lastmodified: '2019-08-20T07:26:08Z'
    ...
    pgp: []
    unencrypted_suffix: _unencrypted
    version: 3.3.1

Decryption does not work for me:

helm secrets dec  promitor-helm/secrets.yaml
Decrypting promitor-helm/secrets.yaml
No keys found in file
Error: plugin "secrets" exited with error

Would be really create if this would work!

re-mscho commented 4 years ago

I've found the problem. It works as intended and it's not a BUG. The sops creation rule key in .sops.yaml must be named azure_keyvault and not azure_kv.