You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/openshift/howto-aad-app-configuration.md
+21-14Lines changed: 21 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -8,23 +8,23 @@ manager: jeconnoc
8
8
ms.topic: conceptual
9
9
ms.tgt_pltfrm: NA
10
10
ms.workload: NA
11
-
ms.date: 05/07/2019
11
+
ms.date: 05/09/2019
12
12
---
13
13
14
14
# Azure Active Directory integration for Azure Red Hat OpenShift
15
15
16
16
If you haven't already created an Azure Active Directory (Azure AD) tenant, follow the directions in [Create an Azure AD tenant for Azure Red Hat OpenShift](howto-create-tenant.md) before continuing with these instructions.
17
17
18
-
Microsoft Azure Red Hat OpenShift needs permissions to perform tasks on behalf of your cluster. If your organization doesn't already have an Azure AD user that you'll use to access your cluster, or an Azure AD app registration to use as the service principal, follow these instructions to create them.
18
+
Microsoft Azure Red Hat OpenShift needs permissions to perform tasks on behalf of your cluster. If your organization doesn't already have an Azure AD user, Azure AD security group, or an Azure AD app registration to use as the service principal, follow these instructions to create them.
19
19
20
-
## Create a new Active Directory user
20
+
## Create a new Azure Active Directory user
21
21
22
22
In the [Azure portal](https://portal.azure.com), ensure that your tenant appears under your user name in the top right of the portal:
23
23
24
24

25
25
If the wrong tenant is displayed, click on your user name in the top right, then click **Switch Directory**, and select the correct tenant from the **All Directories** list.
26
26
27
-
Create a new user in Active Directory to use to sign in to your Azure Red Hat OpenShift cluster.
27
+
Create a new Azure Active Directory global administrator user to sign in to your Azure Red Hat OpenShift cluster.
28
28
29
29
1. Go to the [Users-All users](https://portal.azure.com/#blade/Microsoft_AAD_IAM/UsersManagementMenuBlade/AllUsers) blade.
30
30
2. Click **+New user** to open the **User** pane.
@@ -36,36 +36,41 @@ Create a new user in Active Directory to use to sign in to your Azure Red Hat Op
36
36
37
37
## Create an Azure AD security group
38
38
39
-
Microsoft Azure Red Hat OpenShift needs permissions to perform tasks on behalf of your cluster. Follow these instructions to create an Azure AD security group.
39
+
Before you can create a cluster, you need an Azure AD security group. This group references the members which will have the customer-admin role on the cluster.
40
40
41
41
1. Open the [Azure Active Directory](https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/Overview) blade.
42
-
2.Click**Groups** to open the **Groups-All groups** page.
42
+
2.In the **Manage** section, click**Groups** to open the **Groups-All groups** page.
43
43
3. Click **+New Group**
44
44
4. Provide a group name and description.
45
45
5. Set **Group type** to **Security**.
46
46
6. Set **Membership type** to **Assigned**.
47
47
48
-
Now add the Azure AD user that you created in an earlier step to the security group.
48
+
Add the Azure AD user that you created in the earlier step to this security group.
49
49
50
-
1. Click **Members** to open the **Select members** pane.
51
-
2. In the members list, click on the Azure AD user that you created above.
52
-
3. At the bottom of the portal, click on **Select** and then **Create**.
50
+
7. Click **Members** to open the **Select members** pane.
51
+
8. In the members list, select the Azure AD user that you created above.
52
+
9. At the bottom of the portal, click on **Select** and then **Create** to create the security group.
53
+
54
+
Save the Group ID value
55
+
56
+
10. When the group is created, click on it in the **Groups-All groups** pane.
57
+
11. On the page that appears, copy down the **Object ID**. We will refer to this value as `GROUPID` in the [Create an Azure Red Hat OpenShift cluster](tutorial-create-cluster.md) tutorial.
53
58
54
59
## Create an Azure AD app registration
55
60
56
61
If your organization doesn't already have an Azure Active Directory (Azure AD) app registration to use as the service principal, follow these instructions to create one.
57
62
58
63
1. Open the [App registrations blade](https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredAppsPreview) and click **+New registration**.
59
64
2. In the **Register an application** pane, enter a name for your application object.
60
-
3.For **Supported account types**, click **Accounts in this organizational directory only**. This is the most secure choice.
65
+
3.Ensure that under **Supported account types**, **Accounts in this organizational directory only** is selected. This is the most secure choice.
61
66
4. Ensure that the **Redirect URI (optional)** dropdown is set to *Web*.
62
67
5. Create a **Redirect URI** using the following pattern:
. . . where `<cluster-name>` is the intended name of your Azure Red Hat OpenShift cluster (or any unique, lower-case string) and `<azure-region>` is the [Azure region hosting your Azure Red Hat OpenShift cluster](supported-resources.md#azure-regions). For example, if your cluster name is to be `contoso`, and you will be creating it in the `eastus` region, the URI that you'll enter for the **Redirect URI** would be `https://openshift.contoso.eastus.azmosa.io/oath2callback/Azure%20AD`
73
+
`<cluster-name>` is the intended name of your Azure Red Hat OpenShift cluster (or any unique, lower-case string) and `<azure-region>` is the [Azure region hosting your Azure Red Hat OpenShift cluster](supported-resources.md#azure-regions). For example, if your cluster name is to be `contoso`, and you will be creating it in the `eastus` region, the URI that you'll enter for the **Redirect URI** would be `https://openshift.contoso.eastus.azmosa.io/oath2callback/Azure%20AD`
69
74
70
75
> [!IMPORTANT]
71
76
> The cluster name must be all lowercase, and be unique.
@@ -76,11 +81,13 @@ If your organization doesn't already have an Azure Active Directory (Azure AD) a
76
81
7. Click the **Register** button to create the Azure AD application object.
77
82
8. On the page that appears, copy down the **Application (client) ID**. We will refer to this value as `APPID` in the [Create an Azure Red Hat OpenShift cluster](tutorial-create-cluster.md) tutorial.
78
83
84
+

85
+
79
86
### Create a client secret
80
87
81
-
Now you're ready to generate a client secret for authenticating your app to Azure Active Directory.
88
+
Generate a client secret for authenticating your app to Azure Active Directory.
82
89
83
-
1. From the registered app page for the app registration you just made, click on **Certificates & secrets**.
90
+
1. Under the **Manage** category of the app registrations page, click **Certificates & secrets**.
84
91
2. On the **Certificates & secrets** pane that appears, click **+New client secret**. The **Add a client secret** pane appears.
85
92
3. Provide a **Description**.
86
93
4. Set **Expires** to the duration you prefer, for example *In 2 Years*.
Copy file name to clipboardExpand all lines: articles/openshift/howto-setup-environment.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -95,11 +95,11 @@ The Azure Red Hat OpenShift service requires an associated Azure Active Director
95
95
96
96
If you don't have an Azure AD to use as the tenant for your Azure Red Hat OpenShift cluster, or you wish to create a tenant for testing, follow the instructions in [Create an Azure AD tenant for your Azure Red Hat OpenShift cluster](howto-create-tenant.md) before continuing with this guide.
97
97
98
-
## Create an Azure AD application object and user
98
+
## Create an Azure AD user, security group and application object
99
99
100
-
Azure Red Hat OpenShift requires permissions to perform tasks on your cluster, such as configuring storage. These permissions are represented through a [service principal](https://docs.microsoft.com/azure/active-directory/develop/app-objects-and-service-principals#service-principal-object) and are created when you register an Azure AD application representing the workload you intend to host on Azure Red Hat OpenShift. You'll also want to create a new Active Directory user for testing apps running on your Azure Red Hat OpenShift cluster.
100
+
Azure Red Hat OpenShift requires permissions to perform tasks on your cluster, such as configuring storage. These permissions are represented through a [service principal](https://docs.microsoft.com/azure/active-directory/develop/app-objects-and-service-principals#service-principal-object). You'll also want to create a new Active Directory user for testing apps running on your Azure Red Hat OpenShift cluster.
101
101
102
-
Follow the instructions in [Create an Azure AD app object and user](howto-aad-app-configuration.md) to learn how to create a service principal, generate a client secret and authentication callback URL for your app, and create a new Active Directory user for testing.
102
+
Follow the instructions in [Create an Azure AD app object and user](howto-aad-app-configuration.md) to create a service principal, generate a client secret and authentication callback URL for your app, and create a new Azure AD security group and user to access the cluster.
Copy file name to clipboardExpand all lines: articles/openshift/tutorial-create-cluster.md
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.author: twhitney
7
7
manager: jeconnoc
8
8
ms.topic: tutorial
9
9
ms.service: openshift
10
-
ms.date: 05/08/2019
10
+
ms.date: 05/09/2019
11
11
#Customer intent: As a developer, I want learn how to create an Azure Red Hat OpenShift cluster, scale it, and then clean up resources so that I am not charged for what I'm not using.
12
12
---
13
13
@@ -49,7 +49,7 @@ az login
49
49
50
50
## Step 2: Create an Azure Red Hat OpenShift cluster
51
51
52
-
In your Bash command window, set the following variables:
52
+
In a Bash command window, set the following variables:
53
53
54
54
> [!IMPORTANT]
55
55
> The name of your cluster must be all lowercase or cluster creation will fail.
@@ -72,6 +72,12 @@ Set `APPID` to the value you saved in step 9 of [Create a new app registration]
72
72
APPID=<app ID value>
73
73
```
74
74
75
+
Set 'GROUPID' to the value you saved in step 11 of [Create an Azure AD security group](howto-aad-app-configuration.md#create-an-azure-ad-security-group).
76
+
77
+
```bash
78
+
GROUPID=<group ID value>
79
+
```
80
+
75
81
Set `SECRET` to the value you saved in step 6 of [Create a client secret](howto-aad-app-configuration.md#create-a-client-secret).
0 commit comments