<@U04S8PLJWMT> How does the data plane works and h...
# ask-ai
j
@kapa.ai How does the data plane works and how are its credentials set?
k
- How it works: - The control plane hosts the UI, API, Terraform provider, and orchestrates work. The data plane runs the jobs: initiates syncs, moves data, completes jobs, and reports status back to the control plane. This separation lets a single deployment keep data segregated by region. By default there’s one data plane, but you can create additional planes tied to regions and associate a workspace to exactly one region so its jobs run only in that region ([Multiple region deployments](https://docs.airbyte.com/platform/enterprise-setup/multi-region) and versioned pages). (See: [Enterprise-setup overview](https://docs.airbyte.com/platform/enterprise-setup/multi-region), [1.7 overview](https://docs.airbyte.com/platform/1.7/enterprise-setup/multi-region), [1.6 overview](https://docs.airbyte.com/platform/1.6/enterprise-setup/multi-region), [Next Enterprise Flex overview](https://docs.airbyte.com/platform/next/enterprise-flex/data-plane).) - How credentials are set: - Create the data plane via the API and note the returned dataplaneId, clientId, and clientSecret; these are used to deploy the data plane on Kubernetes ([Create a data plane](https://docs.airbyte.com/platform/enterprise-setup/multi-region#step-2), [API example](https://docs.airbyte.com/platform/next/enterprise-flex/data-plane#step-2)). - Store these values in a Kubernetes Secret (commonly named airbyte-config-secrets) that the data plane uses to authenticate to the control plane. The secret includes DATA_PLANE_CLIENT_ID and DATA_PLANE_CLIENT_SECRET; depending on your setup, you may also include cloud credentials (e.g., S3 or Secrets Manager) or GCP service account JSON. You can apply this via a YAML manifest or kubectl create secret commands ([Configure Kubernetes secrets](https://docs.airbyte.com/platform/enterprise-setup/multi-region#step-4), [1.7 step 4](https://docs.airbyte.com/platform/1.7/enterprise-setup/multi-region#step-4), [1.6 step 4](https://docs.airbyte.com/platform/1.6/enterprise-setup/multi-region#step-4), [Next Enterprise Flex step 3/4](https://docs.airbyte.com/platform/next/enterprise-flex/data-plane#step-4)).
j
@kapa.ai But how are the credentials set when installing with abctl?
k
A message from kapa.ai
When you install locally with abctl, it auto-generates the UI login and API client credentials, and you can view or override them with abctl. The knowledge sources do not mention setting data plane credentials (DATA_PLANE_CLIENT_ID/SECRET) via abctl; those are created by the control plane API and stored as Kubernetes Secrets during a data plane deployment. - abctl-generated credentials: - On first abctl install, a random password, client-id, and client-secret are created. Retrieve or change them via: - View: abctl local credentials - Update: abctl local credentials --email YOUR_EMAIL --password YOUR_PASSWORD - These values can also be read from the airbyte-auth-secrets Kubernetes secret if deploying with Helm (they are base64 encoded) ([Install/manage with abctl](https://docs.airbyte.com/platform/deploying-airbyte/abctl#install-and-manage-local-airbyte-instances); [abctl reference](https://docs.airbyte.com/platform/deploying-airbyte/abctl#reference); [Authentication docs](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication)). - Data plane credentials: - For multi-region/data plane, you create the data plane via API, which returns clientId and clientSecret. You then place these into a Kubernetes Secret (typically airbyte-config-secrets) as DATA_PLANE_CLIENT_ID and DATA_PLANE_CLIENT_SECRET before deploying the data plane. The docs do not show abctl handling these values directly ([Create a data plane](https://docs.airbyte.com/platform/enterprise-setup/multi-region#step-2); [Configure Kubernetes Secrets](https://docs.airbyte.com/platform/enterprise-setup/multi-region#step-4)).
j
@kapa.ai How to check the airbyte-auth-secrets?
k
A message from kapa.ai
You can view the airbyte-auth-secrets in two ways, depending on how you installed Airbyte: - If you used abctl: - Run:
abctl local credentials
to print the email/password and client credentials generated by abctl (it reads from the underlying secret) ([Quickstart](https://docs.airbyte.com/platform/using-airbyte/getting-started/oss-quickstart#part-4-set-up-authentication)). - Alternatively, query the Kubernetes Secret directly with kubectl (see next item) ([Authentication](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication)). - If you deployed to your own Kubernetes cluster (or want to inspect the Secret directly): - Run:
kubectl get secret airbyte-auth-secrets -n <YOUR_NAMESPACE> -o yaml
to fetch it. Values are base64-encoded; decode, for example:
echo '<base64>' | base64 -d
([Authentication](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication)).