how do I set dataplane credentials to a value I ch...
# ask-ai
t
how do I set dataplane credentials to a value I choose?
k
To set the data plane credentials (such as DATA_PLANE_CLIENT_ID and DATA_PLANE_CLIENT_SECRET) to values you choose, you need to create a Kubernetes secret containing those values and reference it in your Airbyte deployment’s values.yaml file. Here’s how you can do it: 1. Create the Kubernetes Secret with Your Chosen Values You can create a secret manifest file (YAML) or use the kubectl command directly. For example, to set your own values:
Copy code
yaml apiVersion: v1 kind: Secret metadata:   name: airbyte-config-secrets type: Opaque stringData:   DATA_PLANE_CLIENT_ID: your-chosen-client-id   DATA_PLANE_CLIENT_SECRET: your-chosen-client-secret   # Add other keys as needed
Or with kubectl:
Copy code
sh kubectl create secret generic airbyte-config-secrets \   --from-literal=DATA_PLANE_CLIENT_ID=your-chosen-client-id \   --from-literal=DATA_PLANE_CLIENT_SECRET=your-chosen-client-secret \   --namespace airbyte
2. Reference the Secret in your values.yaml In your
values.yaml
, make sure you reference the secret and the keys you set:
Copy code
yaml dataPlane:   secretName: airbyte-config-secrets   clientIdSecretName: airbyte-config-secrets   clientIdSecretKey: DATA_PLANE_CLIENT_ID   clientSecretSecretName: airbyte-config-secrets   clientSecretSecretKey: DATA_PLANE_CLIENT_SECRET
3. Deploy Airbyte with These Settings When you deploy Airbyte, it will use the credentials you specified in the Kubernetes secret. Note: - The secret name and key must match between your Kubernetes secret and your values.yaml. - If you use a different secret name or key, update the values.yaml accordingly. - The documentation does not specify any restrictions on the values you choose for the credentials, so you can set them to any string you prefer, as long as they are consistent between the secret and the configuration file. References: [Configure Kubernetes Secrets (1.8)](https://docs.airbyte.com/platform/1.8/enterprise-setup/multi-region#step-4) [Configure Kubernetes Secrets (Next)](https://docs.airbyte.com/platform/next/enterprise-setup/multi-region#step-4) [Configure Kubernetes Secrets (Enterprise Flex)](https://docs.airbyte.com/platform/enterprise-flex/data-plane#step-3)