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-ldap-store.yaml

23 lines
604 B
YAML
Raw Normal View History

apiVersion: external-secrets.io/v1beta1
2021-05-14 07:18:45 +00:00
kind: SecretStore
metadata:
name: vault-backend
namespace: example
spec:
provider:
vault:
server: "https://vault.acme.org"
path: "secret"
version: "v2"
auth:
# VaultLdap authenticates with Vault using the LDAP auth mechanism
# https://www.vaultproject.io/docs/auth/ldap
ldap:
2022-01-05 23:22:00 +00:00
# Path where the LDAP authentication backend is mounted
path: "ldap"
2021-05-14 07:18:45 +00:00
# LDAP username
username: "username"
secretRef:
name: "my-secret"
key: "ldap-password"