Service Connector Introduction

Simplify Your Azure Kubernetes Service Connection Configuration with Service Connector

Posted by Coco Wang   May 23, 2024     1 minute read

Workloads deployed on an Azure Kubernetes Service (AKS) cluster often need to access Azure backing resources, such as Azure Key Vault, databases, or AI services like Azure OpenAI Service. Users are required to manually configure Microsoft Entra Workload ID or Managed Identities so their AKS workloads can securely access these protected resources.

The Service Connector integration greatly simplifies the connection configuration experience for AKS workloads and Azure backing services. Service Connector takes care of authentication and network configurations securely and follows Azure best practices, so you can focus on your application code without worrying about your infrastructure connectivity.

image Service Connector Action Breakdown

Before Service Connector, in order to connect from AKS pods to a private Azure backing services using workload identity, users needed to perform the following actions manually:

  1. Create a managed identity
  2. Retrieve the OIDC issuer URL
  3. Create Kubernetes service account
  4. Establish federated identity credential trust
  5. Grant permissions to access Azure Services
  6. Deploy the application

Now, Service Connector performs steps 2 to 5 automatically. Additionally, for Azure services without public access, Service Connector creates private connection components such as private link, private endpoint, DNS record, etc.
You can create a connection in the Service Connection blade within AKS. image Click create and select the target service, authentication method, and networking rule. The connection will then be automatically set up.

In addition to Azure portal, Service Connector also supports Azure CLI.

Service Connector on AKS cluster is currently in preview. Here are a few helpful links to for you to learn more about Service Connector.

Updated: