infisical-generic-secret-store.yaml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. apiVersion: external-secrets.io/v1
  2. kind: SecretStore
  3. metadata:
  4. name: infisical
  5. spec:
  6. provider:
  7. infisical:
  8. # Optional. Base URL of your Infisical instance (without the /api suffix
  9. # -- the operator appends it automatically). Omit to use Infisical Cloud.
  10. # For self-hosted instances use your instance URL, e.g. https://infisical.example.com
  11. hostAPI: https://app.infisical.com
  12. # Optional: PEM-encoded CA bundle for self-hosted instances with private CAs.
  13. # caBundle: "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0t..."
  14. # Optional: Reference to Secret or ConfigMap containing CA certificate.
  15. # Mutually exclusive with caBundle.
  16. # caProvider:
  17. # type: Secret # or ConfigMap
  18. # name: infisical-ca
  19. # key: ca.crt
  20. # # namespace is required for ClusterSecretStore
  21. # # namespace: external-secrets
  22. auth:
  23. universalAuthCredentials:
  24. clientId:
  25. key: clientId
  26. name: universal-auth-credentials
  27. clientSecret:
  28. key: clientSecret
  29. name: universal-auth-credentials
  30. secretsScope:
  31. projectSlug: first-project-fujo
  32. # "dev", "staging", "prod", etc.
  33. environmentSlug: dev
  34. # Optional (default: `/`).
  35. #
  36. # Secrets will only be retrieved from this path for `data` and `dataFrom` rules. When a
  37. # `data` `remoteRef` uses a path (e.g. `/foo/bar`), that reference will use an absolute
  38. # reference and disregard this default.
  39. #
  40. # If you need to prevent access to secrets outside of this path, rely on instead setting
  41. # Access Controls in Infisical.
  42. secretsPath: /
  43. # Optional (default: false).
  44. #
  45. # When recursive is enabled, secrets retrieved using `dataFrom` patterns will fetch all secrets recursive.
  46. recursive: false
  47. # optional
  48. expandSecretReferences: false # Default is true