Hi <@U04S8PLJWMT> I have setup the airbyte using t...
# ask-ai
r
Hi @kapa.ai I have setup the airbyte using the helm chart on eks and now I wanted to setup the authentication for it please give me the steps
k
To set up authentication for Airbyte deployed via Helm on EKS, follow these steps: ### 1. Understand Airbyte Authentication Options Airbyte supports built-in authentication (email/password) and SSO (OIDC, e.g., Okta, Azure Entra ID) for Self-Managed Enterprise. For the Community Edition, only built-in authentication is available. The authentication method is configured via your
values.yaml
and Kubernetes secrets. --- ### 2. Built-in Authentication (Default) By default, Airbyte uses email and a generated password for authentication. After deployment, you can retrieve the admin credentials as follows:
Copy code
sh kubectl get secret airbyte-auth-secrets -n <YOUR_NAMESPACE> -o yaml
The output will contain base64-encoded values for
instance-admin-client-id
,
instance-admin-client-secret
, and
instance-admin-password
. Decode them using:
Copy code
sh echo '<base64-string>' | base64 -d
If you want to set your own password, create a Kubernetes secret before deploying Airbyte:
Copy code
yaml apiVersion: v1 kind: Secret metadata:   name: airbyte-auth-secrets   namespace: <YOUR_NAMESPACE> type: Opaque stringData:   instance-admin-password: <your-password>   # Optionally:   # instance-admin-client-id: <your-client-id>   # instance-admin-client-secret: <your-client-secret>
Apply it with:
Copy code
sh kubectl apply -f secret.yaml -n <YOUR_NAMESPACE>
You may need to restart the Airbyte server pod for changes to take effect. [Reference](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/authentication) --- ### 3. Disabling Authentication (Not Recommended for Production) If you want to disable authentication (e.g., if you use an external proxy for auth), add this to your `values.yaml`:
Copy code
yaml global:   auth:     enabled: false
[Reference](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/authentication) --- ### 4. Enabling SSO (OIDC) for Enterprise Edition If you are using Airbyte Self-Managed Enterprise and want to enable SSO (e.g., Okta, Azure Entra ID): - Add the following to your `values.yaml`:
Copy code
yaml global:   edition: enterprise   airbyteUrl: https://your-airbyte.example.com   auth:     instanceAdmin:       firstName: <admin-first-name>       lastName: <admin-last-name>     identityProvider:       type: oidc       secretName: airbyte-config-secrets       oidc:         domain: <your-oidc-domain>         appName: <your-app-name>         clientIdSecretKey: client-id         clientSecretSecretKey: client-secret
- Store your OIDC client ID and secret in a Kubernetes secret named `airbyte-config-secrets`:
Copy code
yaml apiVersion: v1 kind: Secret metadata:   name: airbyte-config-secrets   namespace: <YOUR_NAMESPACE> type: Opaque stringData:   client-id: <your-oidc-client-id>   client-secret: <your-oidc-client-secret>
Apply it with:
Copy code
sh kubectl apply -f secret.yaml -n <YOUR_NAMESPACE>
[Reference](https://docs.airbyte.com/platform/next/enterprise-setup/implementation-guide#step-2-configure-your-deployment) --- ### 5. Redeploy Airbyte After updating your secrets and
values.yaml
, upgrade your Helm release:
Copy code
sh helm upgrade airbyte airbyte/airbyte -n <YOUR_NAMESPACE> -f values.yaml
--- Note: - Always ensure your secrets are created before deploying or upgrading Airbyte. - For more advanced SSO setups (e.g., Okta), follow the [detailed SSO guides](https://docs.airbyte.com/platform/next/access-management/sso-providers/okta#self-managed-enterprise-with-okta-generic-oidc). If you need more specific guidance (e.g., for a particular SSO provider), please specify your requirements.
r
@kapa.ai So If I enable the auth in helm chart does it will create the secret by default?
k
A message from kapa.ai
Yes, if you enable authentication in the Helm chart and do not provide your own
airbyte-auth-secrets
Kubernetes secret, Airbyte will generate the admin credentials (including the password) and create the
airbyte-auth-secrets
secret automatically during deployment. You can then retrieve the generated credentials from this secret after deployment. If you want to set your own password or credentials, you should create the
airbyte-auth-secrets
secret yourself before deploying Airbyte. Otherwise, Airbyte will handle it for you and generate random credentials by default [see documentation](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/authentication). > "If you have deployed to your own Kubernetes cluster using Helm, then you can view your credentials by running the following: >
kubectl get secret airbyte-auth-secrets -n <YOUR_NAMESPACE> -o yaml
> ... > You can also control the default password by supplying your own values as a Kubernetes secret." > [Source](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/authentication) So, to summarize: - No custom secret provided: Airbyte generates and stores credentials in
airbyte-auth-secrets
. - Custom secret provided: Airbyte uses your provided credentials.
r
Hi @kapa.ai how can I setup the auth like anyone can create their own authentication when they first wanted to login
k
A message from kapa.ai
I'm sorry, but the knowledge sources do not describe a way to allow users to self-register or create their own authentication accounts when they first log in to Airbyte. The documented authentication methods require an admin to set up credentials in advance (either by using generated credentials or by providing them via Kubernetes secrets), or to configure SSO with an external identity provider for user management. There is no mention of a self-service user registration or sign-up feature in the available documentation for either the Community or Enterprise editions of Airbyte [Authentication](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/authentication). If you need user self-registration, you may need to manage users externally (e.g., via your SSO/identity provider) and configure Airbyte to use that provider for authentication.