vault-jwt-store.yaml 636 B

12345678910111213141516171819202122
  1. apiVersion: external-secrets.io/v1beta1
  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. # Path where the JWT authentication backend is mounted
  17. path: "jwt"
  18. # JWT role configured in a Vault server, optional.
  19. role: "vault-jwt-role"
  20. secretRef:
  21. name: "my-secret"
  22. key: "jwt-token"