full-secret-store.yaml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. apiVerson: external-secrets.io/v1alpha1
  2. kind: SecretStore
  3. metadata:
  4. name: vault
  5. namespace: example-ns
  6. spec:
  7. # Used to select the correct ESO controller (think: ingress.ingressClassName)
  8. # The ESO controller is instantiated with a specific controller name and filters ES based on this property
  9. # Optional
  10. controller: dev
  11. # provider field contains the configuration to access the provider which contains the secret
  12. # exactly one provider must be configured.
  13. provider:
  14. # (1): AWS Secrets Manager
  15. # AWSSM configures this store to sync secrets using AWS Secret Manager provider
  16. awssm:
  17. # Role is a Role ARN which the SecretManager provider will assume
  18. role: iam-role
  19. # AWS Region to be used for the provider
  20. region: eu-central-1
  21. # Auth defines the information necessary to authenticate against AWS by
  22. # getting the accessKeyID and secretAccessKey from an already created Kubernetes Secret
  23. auth:
  24. secretRef:
  25. accessKeyID:
  26. name: awssm-secret
  27. key: access-key
  28. secretAccessKey:
  29. name: awssm-secret
  30. key: secret-access-key
  31. # (TODO): add more provider examples here
  32. status:
  33. # Standard condition schema
  34. conditions:
  35. # SecretStore ready condition indicates the given store is in ready
  36. # state and able to referenced by ExternalSecrets
  37. # If the `status` of this condition is `False`, ExternalSecret controllers
  38. # should prevent attempts to fetch secrets
  39. - type: Ready
  40. status: "False"
  41. reason: "ConfigError"
  42. message: "SecretStore validation failed"
  43. lastTransitionTime: "2019-08-12T12:33:02Z"