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/ibm-external-secret.yaml

20 lines
396 B
YAML
Raw Normal View History

apiVersion: external-secrets.io/v1beta1
2021-07-01 14:13:53 +00:00
kind: ExternalSecret
metadata:
name: database-credentials
2021-07-01 14:13:53 +00:00
spec:
refreshInterval: 60m
2021-07-01 14:13:53 +00:00
secretStoreRef:
name: ibm-store
2021-07-01 14:13:53 +00:00
kind: SecretStore
target:
name: database-credentials
2021-07-01 14:13:53 +00:00
creationPolicy: Owner
data:
- secretKey: username
2021-07-01 14:13:53 +00:00
remoteRef:
key: database_user
- secretKey: password
remoteRef:
key: database_password