aws-sm-push-secret-with-replication.yaml 700 B

12345678910111213141516171819202122232425262728
  1. apiVersion: external-secrets.io/v1alpha1
  2. kind: PushSecret
  3. metadata:
  4. name: pushsecret-example
  5. namespace: default
  6. spec:
  7. refreshInterval: 10s
  8. secretStoreRefs:
  9. - name: aws-secretsmanager
  10. kind: SecretStore
  11. selector:
  12. secret:
  13. name: pokedex-credentials
  14. data:
  15. - match:
  16. secretKey: my-secret-key
  17. remoteRef:
  18. remoteKey: my-remote-secret
  19. property: password
  20. metadata:
  21. kmsKeyID: bb123123-b2b0-4f60-ac3a-44a13f0e6b6c
  22. replicationLocations:
  23. - eu-north-1
  24. - eu-west-2
  25. secretPushFormat: string
  26. description: "Cross-account accessible secret"
  27. tags:
  28. team: platform-engineering