Last active
March 2, 2018 01:36
-
-
Save sumitsaiwal/1e2f5e9cbc28cb7bc7091a43c4119797 to your computer and use it in GitHub Desktop.
Service principal for a Kubernetes cluster in Container Service using Azure CLI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ##Connect to ACS##https://docs.microsoft.com/en-us/azure/container-service/dcos-swarm/container-service-connect | |
| ##Kubectl.exe: https://storage.googleapis.com/kubernetes-release/release/v1.9.3/bin/windows/amd64/kubectl.exe | |
| ##clientID==appId | |
| ##cleintPassword==password | |
| az login | |
| az account set --subscription "mySubscriptionID" | |
| az group create --name "myResourceGroup" --location "westus" | |
| az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/<subscriptionID>/resourceGroups/<resourceGroupName>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment