Capabilities
Gather AKS credentials
Configuring the connector requires you to pass in credentials generated in AKS. 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 “C1”.
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 AKS connector
- Cloud-hosted
- Self-hosted
Follow these instructions to use a built-in, no-code connector hosted by C1.Done. Your AKS connector is now pulling access data into C1.
1
In C1, navigate to Apps > Connectors and click Add connector.
2
Search for AKS and click Add.
3
Choose where to add the connector: Create a new app, or Add to an existing app (then select the app).If you’re creating a new app, choose whether to link it to an application discovered from your identity provider: select Yes and pick the IdP application, or No to continue with just the connector.
4
Set the connector’s Name and, optionally, a Description.
5
Click the pencil icon next to Owners to choose who can configure and manage this connector.
6
Click Add. The connector is created and its configuration page opens.
7
Find the Settings area of the page and click Edit.
8
Enter the AKS credentials into the relevant fields.
9
Click Save.
10
The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.