passworddepot-external-secret.yaml 589 B

1234567891011121314151617181920
  1. apiVersion: external-secrets.io/v1alpha1
  2. kind: ExternalSecret
  3. metadata:
  4. name: passworddepot-external-secret-example
  5. spec:
  6. refreshInterval: 1h
  7. secretStoreRef:
  8. kind: SecretStore
  9. name: passworddepot-secret-store # Must match SecretStore on the cluster
  10. target:
  11. name: passworddepot-secret-to-create # Name for the secret to be created on the cluster
  12. creationPolicy: Owner
  13. data:
  14. - secretKey: username # Key given to the secret to be created on the cluster
  15. remoteRef:
  16. key: Production.mySecret
  17. property: login # field named in passworddepot