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/generator-vault.yaml

22 lines
497 B
YAML
Raw Normal View History

{% raw %}
apiVersion: generators.external-secrets.io/v1alpha1
kind: VaultDynamicSecret
metadata:
name: "pki-example"
spec:
path: "/pki/issue/example-dot-com"
method: "POST"
parameters:
common_name: "localhost"
ip_sans: "127.0.0.1,127.0.0.11"
provider:
server: "http://vault.default.svc.cluster.local:8200"
auth:
kubernetes:
mountPath: "kubernetes"
role: "external-secrets-operator"
serviceAccountRef:
name: "default"
{% endraw %}