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
Martin Schuessler f777a85156
added userPass authentication to the hashicorp vault provider (#2539)
Signed-off-by: Martin Schuessler <1407812+c0ffee@users.noreply.github.com>
Co-authored-by: Moritz Johner <moolen@users.noreply.github.com>
2023-08-01 14:16:19 +02:00

21 lines
597 B
YAML

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"