mirror of
https://github.com/azure/login.git
synced 2026-03-15 09:20:56 -04:00
Format README command to allow copy (#251)
* Update README.md * Update README.md
This commit is contained in:
@@ -202,12 +202,12 @@ Follow the steps to configure Azure Service Principal with a secret:
|
|||||||
az ad sp create-for-rbac --name "myApp" --role contributor \
|
az ad sp create-for-rbac --name "myApp" --role contributor \
|
||||||
--scopes /subscriptions/{subscription-id}/resourceGroups/{resource-group} \
|
--scopes /subscriptions/{subscription-id}/resourceGroups/{resource-group} \
|
||||||
--sdk-auth
|
--sdk-auth
|
||||||
|
```
|
||||||
# Replace {subscription-id}, {resource-group} with the subscription, resource group details
|
Replace `{subscription-id}`, `{resource-group}` with the subscription, resource group details
|
||||||
|
|
||||||
# The command should output a JSON object similar to this:
|
The command should output a JSON object similar to this:
|
||||||
|
|
||||||
|
```bash
|
||||||
{
|
{
|
||||||
"clientId": "<GUID>",
|
"clientId": "<GUID>",
|
||||||
"clientSecret": "<STRING>",
|
"clientSecret": "<STRING>",
|
||||||
|
|||||||
Reference in New Issue
Block a user