Stay organized with collections
Save and categorize content based on your preferences.
Create an Azure Active Directory application
In this section, you create an
Azure Active Directory
(Azure AD) application and service principal objects. Anthos clusters on Azure
uses these objects to store configuration information on Azure.
To create the Azure AD application, run the following command:
az ad app create --display-name APPLICATION_NAME
Replace APPLICATION_NAME with a name for your
application—for example, anthos-clusters.
To save the application's ID to an environment variable for later use, run
the following command:
APPLICATION_ID=$(az ad app list --all \
--query "[?displayName=='APPLICATION_NAME'].appId" \
--output tsv)
Replace APPLICATION_NAME with the name of your
application.
To create a service principal for the application, run the following command: