Search⌘ K
AI Features

Service Principal

Explore how to create and configure a service principal in Azure, assign role-based access controls, and use it for logging in via CLI. Understand the role of service principals in managing Azure Kubernetes Services securely.

What is a service principal?

Service principals are service accounts. They’re different from user accounts. We can create a service principal and give it permissions and roles just like we do for user accounts.

Creating a service principal

The steps to create a service principal are as follows:

  1. Log in to the Azure account.
  2. Within the portal, navigate to “Home” > “Directory” > “Azure Active Directory” > “App
...