mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-29 14:38:50 +00:00
Merge pull request #3607 from bashofmann/azure-cloud-cred-remove-tenant
Remove references to Azure Tenant ID when creating cloud credentials
This commit is contained in:
@@ -21,10 +21,6 @@ Rancher can configure member roles for AKS clusters in the same way as any other
|
|||||||
|
|
||||||
> The configuration information in this section assumes you have already set up a service principal for Rancher. For step-by-step instructions for how to set up the service principal, see [this section.]({{<baseurl>}}/rancher/v2.6/en/cluster-provisioning/hosted-kubernetes-clusters/aks/#prerequisites-in-microsoft-azure)
|
> The configuration information in this section assumes you have already set up a service principal for Rancher. For step-by-step instructions for how to set up the service principal, see [this section.]({{<baseurl>}}/rancher/v2.6/en/cluster-provisioning/hosted-kubernetes-clusters/aks/#prerequisites-in-microsoft-azure)
|
||||||
|
|
||||||
### Tenant ID
|
|
||||||
|
|
||||||
To get the tenant ID, go to the Azure Portal, then click **Azure Active Directory**, then click **App registrations**, then click the name of the service principal. The tenant ID is listed on the app registration detail page as **Directory (tenant) ID**.
|
|
||||||
|
|
||||||
### Subscription ID
|
### Subscription ID
|
||||||
|
|
||||||
To get the subscription ID, click **All Services** in the left navigation bar. Then click **Subscriptions**. Go to the name of the subscription that you want to associate with your Kubernetes cluster and copy the **Subscription ID**.
|
To get the subscription ID, click **All Services** in the left navigation bar. Then click **Subscriptions**. Go to the name of the subscription that you want to associate with your Kubernetes cluster and copy the **Subscription ID**.
|
||||||
|
|||||||
+1
-2
@@ -27,7 +27,6 @@ To interact with Azure APIs, an AKS cluster requires an Azure Active Directory (
|
|||||||
Before creating the service principal, you need to obtain the following information from the [Microsoft Azure Portal](https://portal.azure.com):
|
Before creating the service principal, you need to obtain the following information from the [Microsoft Azure Portal](https://portal.azure.com):
|
||||||
|
|
||||||
- Subscription ID
|
- Subscription ID
|
||||||
- Tenant ID
|
|
||||||
- Client ID
|
- Client ID
|
||||||
- Client secret
|
- Client secret
|
||||||
|
|
||||||
@@ -84,7 +83,7 @@ You can also follow these instructions to set up a service principal and give it
|
|||||||
1. Optional: Choose which accounts can use the service principal.
|
1. Optional: Choose which accounts can use the service principal.
|
||||||
1. Click **Register**.
|
1. Click **Register**.
|
||||||
1. You should now see the name of your service principal under **Azure Active Directory > App registrations**.
|
1. You should now see the name of your service principal under **Azure Active Directory > App registrations**.
|
||||||
1. Click the name of your service principal. Take note of the tenant ID and application ID (also called app ID or client ID) so that you can use it when provisioning your AKS cluster. Then click **Certificates & secrets**.
|
1. Click the name of your service principal. Take note of the application ID (also called app ID or client ID) so that you can use it when provisioning your AKS cluster. Then click **Certificates & secrets**.
|
||||||
1. Click **New client secret**.
|
1. Click **New client secret**.
|
||||||
1. Enter a short description, pick an expiration time, and click **Add**. Take note of the client secret so that you can use it when provisioning the AKS cluster.
|
1. Enter a short description, pick an expiration time, and click **Add**. Take note of the client secret so that you can use it when provisioning the AKS cluster.
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -32,7 +32,7 @@ az ad sp create-for-rbac \
|
|||||||
--scopes="/subscriptions/<subscription Id>"
|
--scopes="/subscriptions/<subscription Id>"
|
||||||
```
|
```
|
||||||
|
|
||||||
The creation of this service principal returns three pieces of identification information, *The application ID, also called the client ID*, *The client secret*, and *The tenant ID*. This information will be used when you create a node template for Azure.
|
The creation of this service principal returns three pieces of identification information, *The application ID, also called the client ID*, and *The client secret*. This information will be used when you create a node template for Azure.
|
||||||
|
|
||||||
# Creating an Azure Cluster
|
# Creating an Azure Cluster
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user