Skip to main content
Written for the EKS paths, where the pod’s AWS identity reads the secret. The VM path’s documented route is file:// or env://. On a VM the code would read Secrets Manager with the VM’s own AWS credentials (for example an EC2 instance role), but that is not yet proven live.
Use this page when Kafka credentials for a cluster live in AWS Secrets Manager. There are two different credential leaves:
⚠WARNING
Do not grant the Sariva platform pod access to the kafka-admin secret. The pod reads only observability-reader at runtime.

Admin Kafka key — customer-created

Create this after the Kafka cluster exists and after you mint the cluster-scoped admin Kafka key.
GitHub Actions reads this secret during Terraform apply. The pod does not.

Observability key — Sariva-created path

Ask Sariva to create the observability credential and store it in AWS Secrets Manager:
Sariva opens a GitOps PR. GitHub Actions applies Terraform and writes the runtime credential to:
The value is JSON:
AWS appends a random suffix to the ARN. Look up by name for manual operations and use a wildcard in IAM resource patterns:

Runtime read permission

Grant the pod AWS identity read access only to the observability leaf:

Attach the credential reference

After the secret exists and the pod can read it, patch the Kafka cluster if the watcher did not already attach the reference:

Gate failures

ⓘINFO
For repeat tests, deleting a Secrets Manager secret normally starts a recovery window that locks the name. Use --force-delete-without-recovery only in disposable test environments when you need to recreate the same name immediately.