> ## Documentation Index
> Fetch the complete documentation index at: https://sariva.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Confluent Cloud overview

> How Sariva uses Confluent Cloud credentials across installation, Terraform, and runtime monitoring.

Confluent Cloud is the primary documented Kafka provider. For MSK and self-hosted clusters, see [Connecting Kafka clusters](https://sariva.mintlify.site/connecting-clusters/overview.md).

## Credential model

Sariva uses different credentials for different jobs. Keep them separate.

| Credential | Where it lives | Used by | Purpose |
| - | - | - | - |
| **Metrics Cloud API key** | The runtime Secret on EKS; `CC_METRICS_API_KEY` / `CC_METRICS_API_SECRET` in `.env` on a VM | Sariva platform (EKS pod or VM container) | Reads Confluent Cloud Metrics API for lag, throughput, and health views. |
| **OrganizationAdmin Cloud API key** | GitHub Actions secret or AWS SSM, per your credential source | GitHub Actions / Terraform | Creates Confluent Cloud resources such as service accounts, API keys, and RBAC bindings. |
| **Admin Kafka key** | Customer credential store such as AWS Secrets Manager or SSM | GitHub Actions / Terraform | Configures the Kafka cluster, for example topics and ACLs. |
| **Observability Kafka key** | Customer credential store such as AWS Secrets Manager, SSM, or Kubernetes Secret; on a VM, a JSON file in `./secrets` referenced as `file:///app/secrets/<name>.json` (or `env://`) — see [file:// and env://](https://sariva.mintlify.site/connecting-clusters/file-env.md) | Sariva platform (EKS pod or VM container) | Monitors the Kafka cluster at runtime. |

ⓘINFO

Before running the setup wizard, you only need the **metrics Cloud API key** and the **OrganizationAdmin Cloud API key** for CI/Terraform. Admin and observability Kafka keys are per-cluster credentials and are handled after the Kafka cluster exists.

## Order of operations

### Create these now — before you continue the path

These two org-level Cloud API keys are the only Confluent Cloud credentials you need before running the setup wizard. Neither requires a Kafka cluster to exist.

**1. Create the metrics service account and metrics key**

Create `sariva-platform-observability`, grant `MetricsViewer`, and create its org-scoped Cloud API key. **How to do it:** [Service accounts & up-front keys](https://sariva.mintlify.site/prerequisites/confluent-cloud/service-account-keys.md). This closes the Confluent Cloud prerequisite for the platform install.

**2. Create the OrganizationAdmin Cloud API key for CI**

Terraform uses this org-admin key to create Confluent Cloud resources. Create it on a **separate, dedicated service account** (not the metrics SA) with `OrganizationAdmin`. **How to do it:** [Service accounts & up-front keys](https://sariva.mintlify.site/prerequisites/confluent-cloud/service-account-keys.md). You store it for CI later, during install setup: [Confluent Cloud credentials for CI](https://sariva.mintlify.site/install-setup/access-and-state/cc-ci-credentials.md).

### After the Kafka cluster exists

Do these only once a Kafka cluster has been created — through the GitOps PR flow or an existing cluster. They are per-cluster credentials, not org-level.

**1. Create or provide the admin Kafka key**

GitHub Actions / Terraform needs this privileged Kafka key to configure the cluster layer. In the AWS-native path, store it in AWS Secrets Manager or SSM. **How to do it:** [Confluent Cloud per-cluster credentials](https://sariva.mintlify.site/connecting-clusters/cc-per-cluster-access.md).

**2. Create the observability Kafka key**

The Sariva observability credential module creates a read-only runtime key and stores it in your selected credential store. Sariva reads this credential reference at runtime.

⚠WARNING

Do not give the Sariva platform pod the admin Kafka key. The pod only needs the observability Kafka key. The admin Kafka key belongs to GitHub Actions / Terraform.

## What's on the next pages

> [card] [Service accounts & up-front keys](https://sariva.mintlify.site/prerequisites/confluent-cloud/service-account-keys.md)
>
> Create both up-front org keys — the metrics key (MetricsViewer) and the OrganizationAdmin/Terraform key — each on its own service account.

> [card] [OrganizationAdmin key for CI](https://sariva.mintlify.site/install-setup/access-and-state/cc-ci-credentials.md)
>
> Store the org admin Cloud API key as a GitHub secret or SSM parameter, per your credential source.

> [card] [Confluent Cloud per-cluster credentials](https://sariva.mintlify.site/connecting-clusters/cc-per-cluster-access.md)
>
> Prepare the admin Kafka key and observability Kafka key after the Kafka cluster exists.

> [card] [Audit logs — planned](https://sariva.mintlify.site/connecting-clusters/cc-audit-logs.md)
>
> Planned — agent-answered audit questions from Slack (not in the current release).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.