QuestionQ75

VerifiedSecure identity and access

You are in the process of creating an Azure Kubernetes Service (AKS) cluster. The Azure Kubernetes Service (AKS) cluster must be able to connect to an Azure Container Registry.

You want to ensure that the Azure Kubernetes Service (AKS) cluster authenticates to the Azure Container Registry by using the auto-generated service principal.

Solution: You create an Azure Active Directory (Azure AD) role assignment.

Does this solution meet the goal?

Explanation

Pulling images from Azure Container Registry requires an Azure RBAC role assignment that grants the AKS service principal registry pull permissions, such as the AcrPull role for a non-ABAC registry. An Azure AD directory-role assignment does not provide that registry access.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!