volcengine-secret-store.yaml 998 B

1234567891011121314151617181920212223242526272829
  1. apiVersion: external-secrets.io/v1
  2. kind: SecretStore
  3. metadata:
  4. name: volcengine-kms
  5. spec:
  6. provider:
  7. volcengine:
  8. # Region (Required)
  9. region: "cn-beijing"
  10. # Authentication (Choose one)
  11. auth:
  12. # Method 1: IRSA (Recommended)
  13. # When the auth block is empty or does not contain secretRef, IRSA is enabled by default.
  14. # The Pod's ServiceAccount must be associated with an IAM Role via Annotation,
  15. # and the VOLCENGINE_ROLE_TRN and VOLCENGINE_OIDC_TOKEN_FILE environment variables must be injected into the ESO Pod.
  16. # Method 2: Static Credentials
  17. secretRef:
  18. accessKeyID:
  19. name: volcengine-creds
  20. key: accessKeyID
  21. secretAccessKey:
  22. name: volcengine-creds
  23. key: secretAccessKey
  24. # (Optional, provide the Secret reference for the STS token if you are using one)
  25. token:
  26. name: volcengine-creds
  27. key: sts-token