1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00
external-secrets/docs/snippets/vault-approle-store.yaml

25 lines
781 B
YAML
Raw Normal View History

apiVersion: external-secrets.io/v1beta1
2021-05-12 20:50:05 +00:00
kind: SecretStore
metadata:
name: vault-backend
namespace: example
spec:
provider:
vault:
server: "https://vault.acme.org"
path: "secret"
version: "v2"
auth:
# VaultAppRole authenticates with Vault using the
# App Role auth mechanism
# https://www.vaultproject.io/docs/auth/approle
appRole:
# Path where the App Role authentication backend is mounted
path: "approle"
# RoleID configured in the App Role authentication backend
roleId: "db02de05-fa39-4855-059b-67221c5c2f63"
2021-08-20 00:36:18 +00:00
# Reference to a key in a K8 Secret that contains the App Role SecretId
2021-05-12 20:50:05 +00:00
secretRef:
name: "my-secret"
2021-08-20 00:36:18 +00:00
key: "secret-id"