File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
articles/deployment-environments Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -133,8 +133,8 @@ Make sure that the identity has access to the key vault secret that contains the
133
133
1 . Retrieve the Object ID of your dev center's identity:
134
134
135
135
``` azurecli
136
- OID=$( az ad sp list --display-name <devcenterName> --query [].id -o tsv)
137
- echo $OID
136
+ $ OID = az ad sp list --display-name <devcenterName> --query [].id -o tsv
137
+ Write-Output $OID
138
138
```
139
139
140
140
1 . Add a Key Vault policy to allow the dev center to get secrets from Key Vault:
@@ -171,15 +171,15 @@ You can use this [sample catalog](https://github.com/Azure/deployment-environmen
171
171
1 . Retrieve the secret identifier:
172
172
173
173
``` azurecli
174
- SECRETID=$( az keyvault secret show --vault-name <keyvaultName> --name GHPAT --query id -o tsv)
175
- echo $SECRETID
174
+ $ SECRETID = az keyvault secret show --vault-name <keyvaultName> --name GHPAT --query id -o tsv
175
+ Write-Output $SECRETID
176
176
```
177
177
178
178
1 . Add the catalog.
179
179
180
180
``` azurecli
181
181
# Sample catalog example
182
- REPO_URL= "https://github.com/Azure/deployment-environments.git"
182
+ $ REPO_URL = "https://github.com/Azure/deployment-environments.git"
183
183
az devcenter admin catalog create --git-hub path="/Environments" branch="main" secret-identifier=$SECRETID uri=$REPO_URL -n <catalogName> -d <devcenterName>
184
184
```
185
185
You can’t perform that action at this time.
0 commit comments