2022-03-09 09:48:25 +00:00
|
|
|
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
|
2022-01-05 22:54:50 +00:00
|
|
|
path: "ldap"
|
2021-05-14 07:18:45 +00:00
|
|
|
# LDAP username
|
|
|
|
username: "username"
|
|
|
|
secretRef:
|
|
|
|
name: "my-secret"
|
|
|
|
key: "ldap-password"
|