Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 37f87c4

Browse files
Tyler WhitneyTyler Whitney
authored andcommittedMay 9, 2019
updating per latest changes
1 parent 144fee3 commit 37f87c4

File tree

4 files changed

+32
-19
lines changed

4 files changed

+32
-19
lines changed
 

‎articles/openshift/howto-aad-app-configuration.md

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@ manager: jeconnoc
88
ms.topic: conceptual
99
ms.tgt_pltfrm: NA
1010
ms.workload: NA
11-
ms.date: 05/07/2019
11+
ms.date: 05/09/2019
1212
---
1313

1414
# Azure Active Directory integration for Azure Red Hat OpenShift
1515

1616
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.
1717

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.
1919

20-
## Create a new Active Directory user
20+
## Create a new Azure Active Directory user
2121

2222
In the [Azure portal](https://portal.azure.com), ensure that your tenant appears under your user name in the top right of the portal:
2323

2424
![Screenshot of portal with tenant listed in top right](./media/howto-create-tenant/tenant-callout.png)
2525
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.
2626

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.
2828

2929
1. Go to the [Users-All users](https://portal.azure.com/#blade/Microsoft_AAD_IAM/UsersManagementMenuBlade/AllUsers) blade.
3030
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
3636

3737
## Create an Azure AD security group
3838

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.
4040

4141
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.
4343
3. Click **+New Group**
4444
4. Provide a group name and description.
4545
5. Set **Group type** to **Security**.
4646
6. Set **Membership type** to **Assigned**.
4747

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.
4949

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.
5358

5459
## Create an Azure AD app registration
5560

5661
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.
5762

5863
1. Open the [App registrations blade](https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredAppsPreview) and click **+New registration**.
5964
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.
6166
4. Ensure that the **Redirect URI (optional)** dropdown is set to *Web*.
6267
5. Create a **Redirect URI** using the following pattern:
6368

6469
```
6570
https://openshift.<cluster-name>.<azure-region>.azmosa.io/oauth2callback/Azure%20AD
6671
```
6772
68-
. . . 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`
6974
7075
> [!IMPORTANT]
7176
> 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
7681
7. Click the **Register** button to create the Azure AD application object.
7782
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.
7883
84+
![Screenshot of app object page](./media/howto-create-tenant/get-app-id.png)
85+
7986
### Create a client secret
8087
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.
8289
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**.
8491
2. On the **Certificates & secrets** pane that appears, click **+New client secret**. The **Add a client secret** pane appears.
8592
3. Provide a **Description**.
8693
4. Set **Expires** to the duration you prefer, for example *In 2 Years*.

‎articles/openshift/howto-setup-environment.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ The Azure Red Hat OpenShift service requires an associated Azure Active Director
9595

9696
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.
9797
98-
## Create an Azure AD application object and user
98+
## Create an Azure AD user, security group and application object
9999
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.
101101

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.
103103

104104
## Next steps
105105

Loading

‎articles/openshift/tutorial-create-cluster.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.author: twhitney
77
manager: jeconnoc
88
ms.topic: tutorial
99
ms.service: openshift
10-
ms.date: 05/08/2019
10+
ms.date: 05/09/2019
1111
#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.
1212
---
1313

@@ -49,7 +49,7 @@ az login
4949

5050
## Step 2: Create an Azure Red Hat OpenShift cluster
5151

52-
In your Bash command window, set the following variables:
52+
In a Bash command window, set the following variables:
5353

5454
> [!IMPORTANT]
5555
> 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]
7272
APPID=<app ID value>
7373
```
7474

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+
7581
Set `SECRET` to the value you saved in step 6 of [Create a client secret](howto-aad-app-configuration.md#create-a-client-secret).
7682

7783
```bash

0 commit comments

Comments
 (0)
Please sign in to comment.