Skip to content

Commit de92725

Browse files
author
Delora Bradish
committed
simplified sentence structure
1 parent b9d8e0f commit de92725

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/notification-hubs/create-notification-hub-azure-cli.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ If you don't have an Azure subscription, create a [free account](https://azure.m
2626

2727
[!INCLUDE [cloud-shell-try-it.md](../../includes/cloud-shell-try-it.md)]
2828

29-
Notification Hubs requires version 2.0.67 or later of the Azure CLI. Run `az --version` to find the version and dependent libraries that are installed. To install or upgrade, see [Install Azure CLI][azure-cli-install].
29+
Notification Hubs requires version 2.0.67 or later of the Azure CLI. Run `az --version` to find the version and dependent libraries that are installed. To install or upgrade, see [Install Azure CLI](azure-cli-install).
3030

3131
## Prepare your environment
3232

@@ -69,15 +69,15 @@ Notification Hubs requires version 2.0.67 or later of the Azure CLI. Run `az --v
6969
az notification-hub namespace check-availability --name spnhubns
7070
7171
#create the namespace
72-
az notification-hub namespace create --resource-group spnhubrg --name spnhubns --location eastus --sku Free
72+
az notification-hub namespace create --resource-group spnhubrg --name spnhubns --location eastus --sku Free
7373
```
7474

7575
2. List keys and connection strings for a namespace access policy.
7676

7777
An access policy named **RootManageSharedAccessKey** is automatically created for a new namespace. Every access policy has two sets of keys and connection strings. To list the keys and connection strings for the namespace, run the [az notification-hub namespace authorization-rule list-keys](/cli/azure/ext/notification-hub/notification-hub/authorization-rule#ext-notification-hub-az-notification-hub-authorization-rule-list-keys) command.
7878

7979
```azurecli-interactive
80-
az notification-hub namespace authorization-rule list-keys --resource-group spnhubrg --namespace-name spnhubns --name RootManageSharedAccessKey
80+
az notification-hub namespace authorization-rule list-keys --resource-group spnhubrg --namespace-name spnhubns --name RootManageSharedAccessKey
8181
```
8282

8383
## Create notification hubs
@@ -117,7 +117,7 @@ Notification Hubs requires version 2.0.67 or later of the Azure CLI. Run `az --v
117117
```
118118

119119
> [!IMPORTANT]
120-
> Do not use the **DefaultFullSharedAccessSignature** policy in your application. This is meant to be used in your app backend only.
120+
> Do not use the **DefaultFullSharedAccessSignature** policy in your application. This is meant to be used in your back-end only. Use only **Listen** access policies in your client application.
121121
122122
3. List keys and connection strings for a notification hub access policy
123123

@@ -128,7 +128,7 @@ Notification Hubs requires version 2.0.67 or later of the Azure CLI. Run `az --v
128128
az notification-hub authorization-rule list-keys --resource-group spnhubrg --namespace-name spnhubns --notification-hub-name spfcmtutorial1nhub --name DefaultListenSharedAccessSignature --output json
129129
130130
#query the keys and connection strings for the custom policy
131-
az notification-hub authorization-rule list-keys --resource-group spnhubrg --namespace-name spnhubns2 --notification-hub-name spfcmtutorial1nhub --name spnhub1key --output json
131+
az notification-hub authorization-rule list-keys --resource-group spnhubrg --namespace-name spnhubns --notification-hub-name spfcmtutorial1nhub --name spnhub1key --output table
132132
```
133133

134134
> [!NOTE]

0 commit comments

Comments
 (0)