akeyless-external-secret-json.yaml 576 B

123456789101112131415161718
  1. apiVersion: external-secrets.io/v1alpha1
  2. kind: ExternalSecret
  3. metadata:
  4. name: akeyless-external-secret-example-json
  5. spec:
  6. refreshInterval: 1h
  7. secretStoreRef:
  8. kind: SecretStore
  9. name: akeyless-secret-store # Must match SecretStore on the cluster
  10. target:
  11. name: akeyless-secret-to-create-json # Name for the secret to be created on the cluster
  12. creationPolicy: Owner
  13. # for json formatted secrets: each key in the json will be used as the secret key in the SECRET k8s target object
  14. dataFrom:
  15. - key: secret-name # Full path of the secret on Akeyless