Skip to content

Commit 6ec9395

Browse files
Hesperidejatinyadav-cc
authored andcommitted
Microsoft Entra ID for Self-Managed Enterprise (airbytehq#35585)
1 parent 5ec0bff commit 6ec9395

File tree

2 files changed

+83
-10
lines changed

2 files changed

+83
-10
lines changed

docs/access-management/sso-providers/azure-entra-id.md

Lines changed: 55 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
11
---
2-
sidebar_label: Azure Entra ID
3-
products: cloud-teams
2+
sidebar_label: Microsoft Entra ID
3+
products: cloud-teams, oss-enterprise
44
---
55

66
import Tabs from "@theme/Tabs";
77
import TabItem from "@theme/TabItem";
88

9-
# Setup Single Sign-On via Azure Entra ID
9+
# Setup Single Sign-On via Microsoft Entra ID
1010

11-
This page guides you through setting up [Single Sign-On](../sso.md) with Airbyte using **Microsoft Azure Entra ID** (formerly known as **Azure Active Directory**).
11+
This page guides you through setting up [Single Sign-On](../sso.md) with Airbyte using **Microsoft Entra ID** (formerly known as **Azure ActiveDirectory**).
1212

1313
Airbyte will communicate with your Entra ID using OpenID Connect (OIDC).
1414

15+
<Tabs groupId="cloud-hosted">
16+
<TabItem value="Cloud" label="Cloud">
17+
1518
## Creating an Entra ID app for Airbyte
1619

1720
:::info
18-
The following steps need to be executed by an administrator of your company's Azure Entra ID account.
21+
The following steps need to be executed by an administrator of your company's Microsoft Entra ID account.
1922
:::
2023

2124
You'll require to know your **Company Identifier** to create your application. You receive this
@@ -25,7 +28,7 @@ from your contact at Airbyte.
2528

2629
You will need to create a new Entra ID application for Airbyte. Log into the [Azure Portal](https://portal.azure.com/) and search for the Entra ID service.
2730

28-
On the Overview of Entra ID press **Add** > **App registration** on the top of the screen.
31+
From the overview page of Entra ID, press **Add** > **App registration** on the top of the screen.
2932

3033
Specify any name you want (e.g. "Airbyte") and configure a **Redirect URI** of type **Web** with the following value:
3134

@@ -39,13 +42,13 @@ Hit **Register** to create the application.
3942

4043
To create Client credentials for Airbyte to talk to your application head to **Certificates & Secrets** on the detail screen of your application and select the **Client secrets** tab.
4144

42-
Click **New client secret**, specify any Description you want and any Expire date you want.
45+
Click **New client secret**, specify any Description you want and any expiry date you want.
4346

4447
:::tip
45-
We recommend to chose an expiry date of at least 12 months. You'll need to pass the new Client Secret to use every time the old one expires, to continue being able to log in via Entra ID.
48+
We recommend to chose an expiry date of at least 12 months. You'll need to pass in the new client secret every time the old one expires to continue being able to log in via Entra ID.
4649
:::
4750

48-
Copy the **Value** (the Client Secret itself) immediately after creation. You won't be able to view this later on again.
51+
Copy the **Value** (the Client Secret itself) immediately after creation. You won't be able to view this later on.
4952

5053
### Setup information needed
5154

@@ -56,3 +59,46 @@ You'll need to pass your Airbyte contact the following information of the create
5659
* **OpenID Connect metadata document**: You'll find this in the **Endpoints** panel, that you can open from the top bar on the **Overview** page
5760

5861
Once we've received this information from you, We'll setup SSO for you and let you know once it's ready to be used.
62+
63+
</TabItem>
64+
<TabItem value="Self-Managed" label="Self-Managed">
65+
66+
## Creating an Entra ID app for Airbyte
67+
68+
:::info
69+
The following steps need to be executed by an administrator of your company's Azure Entra ID account.
70+
:::
71+
72+
### Create application
73+
74+
You will need to create a new Entra ID application for Airbyte. Log into the [Azure Portal](https://portal.azure.com/) and search for the Entra ID service.
75+
76+
From the overview page of Entra ID, press **Add** > **App registration** on the top of the screen. The name you select is your app integration name. Once chosen, configure a **Redirect URI** of type **Web** with the following value:
77+
78+
```
79+
<your-airbyte-domain>/auth/realms/airbyte/broker/<app-integration-name>/endpoint
80+
```
81+
82+
Hit **Register** to create the application.
83+
84+
### Create client credentials
85+
86+
To create client credentials for Airbyte to interface with your application, head to **Certificates & Secrets** on the detail screen of your application and select the **Client secrets** tab. Then:
87+
1. Click **New client secret**, and enter the expiry date of your choosing. You'll need to pass in the new client secret every time the old one expires to continue being able to log in via Entra ID.
88+
2. Copy the **Value** (the client secret itself) immediately after creation. You won't be able to view this later on.
89+
90+
### Setup information needed
91+
92+
Once your Microsoft Entra ID app is set up, you're ready to deploy Airbyte Self-Managed Enterprise with SSO. Take note of the following configuration values, as you will need them to configure Airbyte to use your new Okta SSO app integration:
93+
94+
* OpenID Connect metadata document: You'll find this in the list of endpoints found in the **Endpoints** panel, which you can open from the top bar of the **Overview** page. This will be used to populate the `Domain` field in your `airbyte.yml`.
95+
* App Integration Name: The name of the Entra ID application created in the first step.
96+
* Client ID: You'll find this in the **Essentials** section on the **Overview** page of the application you created.
97+
* Client Secret: The client secret you copied in the previous step.
98+
99+
Use this information to configure the auth details of your `airbyte.yml` for your Self-Managed Enterprise deployment. To learn more on deploying Self-Managed Enterprise, see our [implementation guide](/enterprise-setup/implementation-guide).
100+
101+
</TabItem>
102+
</Tabs>
103+
104+

docs/enterprise-setup/implementation-guide.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,14 @@ cp configs/airbyte.sample.yml configs/airbyte.yml
8080

8181
3. Add your Airbyte Self-Managed Enterprise license key to your `airbyte.yml`.
8282

83-
4. Add your [auth details](/enterprise-setup/sso) to your `airbyte.yml`. Auth configurations aren't easy to modify after Airbyte is installed, so please double check them to make sure they're accurate before proceeding.
83+
4. Add your [auth details](/access-management/sso) to your `airbyte.yml`.
8484

8585
<details>
8686
<summary>Configuring auth in your airbyte.yml file</summary>
8787

88+
89+
<Tabs>
90+
<TabItem value="Okta" label="Okta">
8891
To configure SSO with Okta, add the following at the end of your `airbyte.yml` file:
8992

9093
```yaml
@@ -97,8 +100,32 @@ auth:
97100
client-secret: $OKTA_CLIENT_SECRET
98101
```
99102
103+
See the [following guide](/access-management/sso-providers/okta) on how to collect this information for Okta.
104+
105+
</TabItem>
106+
<TabItem value="Other" label="Other">
107+
108+
To configure SSO with any identity provider via [OpenID Connect (OIDC)](https://openid.net/developers/how-connect-works/), such as Azure Entra ID (formerly ActiveDirectory), add the following at the end of your `airbyte.yml` file:
109+
110+
```yaml
111+
auth:
112+
identity-providers:
113+
- type: oidc
114+
domain: $DOMAIN
115+
app-name: $APP_INTEGRATION_NAME
116+
client-id: $CLIENT_ID
117+
client-secret: $CLIENT_SECRET
118+
```
119+
120+
See the [following guide](/access-management/sso-providers/azure-entra-id) on how to collect this information for Azure Entra ID (formerly ActiveDirectory).
121+
122+
</TabItem>
123+
</Tabs>
124+
100125
To configure basic auth (deploy without SSO), remove the entire `auth:` section from your airbyte.yml config file. You will authenticate with the instance admin user and password included in the your `airbyte.yml`.
101126

127+
To modify auth configurations after Airbyte is installed, you will need to redeploy Airbyte with the additional environment variable `KEYCLOAK_RESET_REALM=TRUE`. As this also resets the list of Airbyte users and permissions, please use this with caution.
128+
102129
</details>
103130

104131
#### Configuring the Airbyte Database

0 commit comments

Comments
 (0)