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

22 lines
597 B
YAML
Raw Normal View History

apiVersion: external-secrets.io/v1beta1
kind: SecretStore
metadata:
name: vault-backend
namespace: example
spec:
provider:
vault:
server: "https://vault.acme.org"
path: "secret"
version: "v2"
auth:
# VaultUserPass authenticates with Vault using the UserPass auth mechanism
# https://www.vaultproject.io/docs/auth/userpass
userPass:
# Path where the UserPass authentication backend is mounted
path: "userpass"
username: "username"
secretRef:
name: "my-secret"
key: "password"