Skip to content

Commit 0a2f300

Browse files
Merge pull request #292195 from cheles/main
Update trusted-signing/quickstart.md
2 parents b65e2d5 + 3d8c565 commit 0a2f300

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

articles/trusted-signing/quickstart.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,8 @@ To register a Trusted Signing resource provider by using the Azure CLI:
7777

7878
5. To upgrade to the latest versions of the Azure CLI and dependent libraries, run the following command:
7979

80-
```bash
81-
az upgrade [--all {false, true}]
82-
[--allow-preview {false, true}]
83-
[--yes]
80+
```azurecli
81+
az upgrade [--all {false, true}] [--allow-preview {false, true}] [--yes]
8482
```
8583

8684
6. To set your default subscription ID, use the `az account set -s <subscription ID>` command.
@@ -167,28 +165,30 @@ To create a Trusted Signing account by using the Azure CLI:
167165

168166
1. Create a resource group by using the following command. If you choose to use an existing resource group, skip this step.
169167

170-
```azurecli
168+
```azurecli
171169
az group create --name MyResourceGroup --location EastUS
172-
```
170+
```
173171

174172
2. Create a unique Trusted Signing account by using the following command.
175173

176174
For more information, see [Naming constraints for Trusted Signing accounts](#naming-constraints-for-trusted-signing-accounts).
177175

178176
To create a Trusted Signing account that has a Basic SKU:
179177

180-
```azurecli
178+
```azurecli
181179
az trustedsigning create -n MyAccount -l eastus -g MyResourceGroup --sku Basic
182-
```
180+
```
183181

184182
To create a Trusted Signing account that has a Premium SKU:
185183

186184
```azurecli
187185
az trustedsigning create -n MyAccount -l eastus -g MyResourceGroup --sku Premium
188186
```
189187

190-
3. Verify your Trusted Signing account by using the `az trustedsigning show -g MyResourceGroup -n MyAccount` command.
191-
188+
3. Verify your Trusted Signing account by using:
189+
```azurecli
190+
az trustedsigning show -g MyResourceGroup -n MyAccount` command.
191+
```
192192
> [!NOTE]
193193
> If you use an earlier version of the Azure CLI from the Trusted Signing private preview, your account defaults to the Basic SKU. To use the Premium SKU, either upgrade the Azure CLI to the latest version or use the Azure portal to create the account.
194194
@@ -406,22 +406,22 @@ To create a certificate profile by using the Azure CLI:
406406

407407
1. Create a certificate profile by using the following command:
408408

409-
```azurecli
410-
az trustedsigning certificate-profile create -g MyResourceGroup --a
409+
```azurecli
410+
az trustedsigning certificate-profile create -g MyResourceGroup --a
411411
account-name MyAccount -n MyProfile --profile-type PublicTrust --identity-validation-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
412-
```
412+
```
413413

414414
For more information, see [Naming constraints for certificate profiles](#naming-constraints-for-certificate-profiles).
415415

416416
2. Create a certificate profile that includes optional fields (street address or postal code) in the subject name of the certificate by using the following command:
417417

418-
```azurecli
418+
```azurecli
419419
az trustedsigning certificate-profile create -g MyResourceGroup --account-name MyAccount -n MyProfile --profile-type PublicTrust --identity-validation-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx --include-street true
420420
```
421421

422422
3. Verify that you successfully created a certificate profile by using the following command:
423423

424-
```azurecli
424+
```azurecli
425425
az trustedsigning certificate-profile show -g myRG --account-name MyAccount -n MyProfile
426426
```
427427

0 commit comments

Comments
 (0)