Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
//Get object id of AKS identity
az aks show -n <clustername> -g <resourcegroup> | jq .identityProfile.kubeletidentity.objectId -r
//Assign permission
az keyvault set-policy  -n <azure key vault name> --secret-permissions get --certificate-permissions get --object-id  <objectId> --subscription <azure subscription>

...