diff --git a/docs/book/src/quick-start.md b/docs/book/src/quick-start.md index 94a55ae2c..260d4d84f 100644 --- a/docs/book/src/quick-start.md +++ b/docs/book/src/quick-start.md @@ -122,9 +122,10 @@ if using user-assigned managed identity: ```bash export USER_ASSIGNED_IDENTITY_CLIENT_ID="$(az identity show --name "${USER_ASSIGNED_IDENTITY_NAME}" --resource-group "${RESOURCE_GROUP}" --query 'clientId' -otsv)" +export USER_ASSIGNED_IDENTITY_OBJECT_ID="$(az identity show --name "${USER_ASSIGNED_IDENTITY_NAME}" --resource-group "${RESOURCE_GROUP}" --query 'principalId' -otsv)" az keyvault set-policy --name "${KEYVAULT_NAME}" \ --secret-permissions get \ - --spn "${USER_ASSIGNED_IDENTITY_CLIENT_ID}" + --object-id "${USER_ASSIGNED_IDENTITY_OBJECT_ID}" ``` ## 5. Create a Kubernetes service account