vault-jwt-store.yaml 587 B

123456789101112131415161718192021
  1. apiVerson: external-secrets.io/v1alpha1
  2. kind: SecretStore
  3. metadata:
  4. name: vault-backend
  5. namespace: example
  6. spec:
  7. provider:
  8. vault:
  9. server: "https://vault.acme.org"
  10. path: "secret"
  11. version: "v2"
  12. auth:
  13. # VaultJwt authenticates with Vault using the JWT/OIDC auth mechanism
  14. # https://www.vaultproject.io/docs/auth/jwt
  15. jwt:
  16. # JWT role configured in a Vault server, optional.
  17. role: "vault-jwt-role"
  18. secretRef:
  19. name: "my-secret"
  20. namespace: "secret-admin"
  21. key: "jwt-token"