Add Azure AKS clusters#
This page explains how to connect to an Azure AKS cluster.
Prerequisites#
Before connecting to your AKS cluster, ensure that you have installed and configured:
- An appropriate Lens subscription
- Azure account with sufficient subscription and permissions
Steps#
-
In Kubernetes Clusters AKS, click Add Azure Organization .
A browser tab with the Microsoft Azure login page opens.

-
Log in to your Azure organization. A tab with the following message opens:
Auth code was successfully acquired. You can close this window now.Storing credentials
When connecting to Azure, your operating system may display a prompt to create or unlock a secure credential store (for example, Keyring on Linux or Keychain on macOS).
This is an expected operating system–level security mechanism. It allows the system to securely store Azure tokens or certificates in encrypted storage instead of plain text.
The prompt is generated by the operating system, not by this application or by Azure.
We recommend selecting Allow always, or similar options to enable secure authentication and avoid repeated sign-in prompts.
Close the tab and return to Lens K8S IDE
After completing these steps, available Azure directories and subscriptions with clusters are displayed in Kubernetes Clusters AKS.
