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

Support loading a secret with a HashiCorp Vault token to decrypt sops secrets. #516

Closed
souleb opened this issue Dec 10, 2021 · 2 comments · Fixed by #538
Closed

Support loading a secret with a HashiCorp Vault token to decrypt sops secrets. #516

souleb opened this issue Dec 10, 2021 · 2 comments · Fixed by #538
Assignees
Labels
area/sops SOPS related issues and pull requests enhancement New feature or request

Comments

@souleb
Copy link
Member

souleb commented Dec 10, 2021

We want to be able to pass a secret containing a HashiCorp Vault token to a kustomization. The Kustomization-controller would pass the token to the Sops Decryptor for decrypting secrets.

This should work like it does with age and pgp, e.g.

apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
  name: my-secrets
  namespace: default
spec:
  interval: 5m
  path: "./"
  sourceRef:
    kind: GitRepository
    name: my-secrets
  decryption:
    provider: sops
    secretRef:
      name: sops-vault-token
@souleb souleb self-assigned this Dec 10, 2021
@souleb souleb added enhancement New feature or request area/sops SOPS related issues and pull requests labels Dec 10, 2021
@kingdonb
Copy link
Member

I see that fluxcd/website#681 is a docs change only. Does this adequately explain how to work with Vault now, or is there more work still to do in this issue?

@souleb
Copy link
Member Author

souleb commented Dec 15, 2021

The current doc explain how to do it with the current implementation. This issue is an enhancement that is still to be written.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/sops SOPS related issues and pull requests enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants