Capabilities
| Resource | Sync | Provision |
|---|---|---|
| Accounts | ||
| Groups | ||
| Roles | ||
| Cluster roles | ||
| Namespaces |
Gather Azure Kubernetes Service credentials
Configuring the connector requires you to pass in credentials generated in Azure Kubernetes Service. Gather these credentials before you move on.Look up your Azure subscription ID and cluster resource group name
1
In Azure, search for and navigate to your cluster’s home page.
2
On the Overview tab, locate the Essentials section.
3
Make a note of the cluster’s resource group name and subscription ID.
Look up your tenant ID
1
In the main search bar, click Tenant properties.
2
Make a note of the tenant ID.
Create a Service Principal
If desired, you can use an existing Service Principal. Follow these steps if you want to create a new one.1
In Entra admin center, navigate to App registrations.
2
Click + New registration.
3
Give the application a name, such as “ConductorOne”.
4
Select the supported account type appropriate for your organization. For most internal automation, “Accounts in this organizational directory only (Single tenant)” is sufficient.
5
You do not need to set a redirect URI.
6
Click Register.
7
The new app is created. Carefully copy and save the Application (client) ID and the Directory (tenant) ID shown on the application summary page.
8
Next, we’ll generate a client secret for this app. Click Certificates & secrets.
9
Click + New client secret.
10
Give the client secret a description and set its expiration.
11
Click Add.
12
The client secret is generated. Carefully copy and save the Secret Value.
Assign Azure RBAC permissions to the Service Principal
Next, grant this Service Principal the Reader role at the subscription level so it can discover and read all your AKS cluster information.1
In the Azure portal’s search bar, type “Subscriptions” and select the relevant Azure subscription.
2
In the left-hand menu of your Subscription, select Access control (IAM).
3
Click + Add > Add role assignment.
4
On the Role tab, search for and select the Reader role.
5
Click Next.
6
On the Members tab, ensure User, group, or service principal is selected for Assign access to.
7
Click + Select members.
8
In the Select members pane, search for and select the name of your App Registration.
9
Click Select at the bottom of the pane.
10
Click Review + assign at the bottom.
Make sure your Service Principal has cluster access
The Service Principal must have access to the cluster in Azure and the proper permissions defined in the cluster.1
In Azure, navigate to the cluster’s admin page and click Access control (IAM).
2
Locate Role assignments add a new assignment for your Service Principal. Commonly used roles are “Azure Kubernetes Service Cluster User Role” and “Azure Kubernetes Service Cluster Admin Role”.
Configure the Azure Kubernetes Service connector
- Cloud-hosted
- Self-hosted
Follow these instructions to use a built-in, no-code connector hosted by ConductorOne.That’s it! Your Azure Kubernetes Service connector is now pulling access data into ConductorOne.
1
In ConductorOne, navigate to Admin > Connectors and click Add connector.
2
Search for Azure Kubernetes Service and click Add.
3
Choose how to set up the new Azure Kubernetes Service connector:
- Add the connector to a currently unmanaged app (select from the list of apps that were discovered in your identity, SSO, or federation provider that aren’t yet managed with ConductorOne)
- Add the connector to a managed app (select from the list of existing managed apps)
- Create a new managed app
4
Set the owner for this connector. You can manage the connector yourself, or choose someone else from the list of ConductorOne users. Setting multiple owners is allowed.
If you choose someone else, ConductorOne will notify the new connector owner by email that their help is needed to complete the setup process.
5
Click Next.
6
Find the Settings area of the page and click Edit.
7
Enter the Azure Kubernetes Service credentials into the relevant fields.
8
Click Save.
9
The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.