infisical-fetch-secret.yaml 732 B

12345678910111213141516171819202122232425262728
  1. apiVersion: external-secrets.io/v1
  2. kind: ExternalSecret
  3. metadata:
  4. name: infisical-managed-secrets
  5. spec:
  6. secretStoreRef:
  7. kind: SecretStore
  8. name: infisical
  9. target:
  10. name: auth-api
  11. data:
  12. # When referencing a secret within the `secretsPath`, the `key` can just be a secret
  13. # name.
  14. - secretKey: API_KEY
  15. remoteRef:
  16. key: API_KEY
  17. # Properties can be extracted from secrets that are JSON strings.
  18. - secretKey: JSON_KEY
  19. remoteRef:
  20. key: JSON_BLOB
  21. property: key
  22. # When referencing secrets in paths (other than `secretsPath`), the `key` must be an
  23. # absolute path to the secret.
  24. - secretKey: PASSWORD
  25. remoteRef:
  26. key: /my-app/SERVICE_PASSWORD