Skip to content

Commit 56d972a

Browse files
authored
Merge pull request #107057 from stevemunk/primary-key-1
changed 'primary' to 'subscription'.
2 parents 2ab3c0d + 54a8e69 commit 56d972a

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

articles/azure-maps/glossary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ The following list describes common words used with the Azure Maps services.
281281

282282
<a name="postal-code"></a> **Postal code**: A series of letters or numbers, or both, in a specific format. The postal-code is used by the postal service of a country/region to divide geographic areas into zones in order to simplify delivery of mail.
283283

284-
<a name="primary-key"></a> **Primary key**: The first of two subscriptions keys provided for Azure Maps shared key authentication. See [Shared key authentication](#shared-key-authentication).
284+
<a name="primary-key"></a> **Primary key**: The first of two subscription keys provided for Azure Maps shared key authentication. See [Shared key authentication](#shared-key-authentication).
285285

286286
<a name="prime-meridian"></a> **Prime meridian**: A line of longitude that represents 0-degrees longitude. Generally, longitude values decrease when traveling in a westerly direction until 180 degrees and increase when traveling in easterly directions to -180-degrees.
287287

articles/azure-maps/how-to-use-spatial-io-module.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ You can load the Azure Maps spatial IO module using one of the two options:
219219
</html>
220220
```
221221

222-
5. Remember to replace `<Your Azure Maps Key>` with your primary key. Open your HTML file, and you'll see results similar to the following image:
222+
5. Remember to replace `<Your Azure Maps Key>` with your subscription key. Open your HTML file, and you'll see results similar to the following image:
223223

224224
<center>
225225

articles/azure-maps/quick-android-map.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,16 @@ Create a new Azure Maps account using the following steps:
4949

5050
:::image type="content" source="./media/shared/create-account.png" alt-text="A screenshot that shows the Create Maps account pane in the Azure portal.":::
5151

52-
## Get the primary key for your account
52+
## Get the subscription key for your account
5353

54-
Once your Azure Maps account is successfully created, retrieve the primary key that enables you to query the Maps APIs.
54+
Once your Azure Maps account is successfully created, retrieve the subscription key that enables you to query the Maps APIs.
5555

5656
1. Open your Azure Maps account in the portal.
5757
2. In the left pane, select **Authentication**.
5858
3. Copy the **Primary Key** and save it locally to use later in this tutorial.
5959

6060
>[!NOTE]
61-
> If you use the Azure subscription key instead of the Azure Maps primary key, your map won't render properly. Also, for security purposes, it is recommended that you rotate between your primary and secondary keys. To rotate keys, update your app to use the secondary key, deploy, then press the cycle/refresh button beside the primary key to generate a new primary key. The old primary key will be disabled. For more information on key rotation, see [Set up Azure Key Vault with key rotation and auditing](../key-vault/secrets/tutorial-rotation-dual.md)
61+
> For security purposes, it is recommended that you rotate between your primary and secondary keys. To rotate keys, update your app to use the secondary key, deploy, then press the cycle/refresh button beside the primary key to generate a new primary key. The old primary key will be disabled. For more information on key rotation, see [Set up Azure Key Vault with key rotation and auditing](../key-vault/secrets/tutorial-rotation-dual.md)
6262
6363
:::image type="content" source="./media/quick-android-map/get-key.png" alt-text="A screenshot showing the Azure Maps Primary key in the Azure portal.":::
6464

articles/azure-maps/quick-demo-map-app.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: 'Quickstart: Interactive map search with Azure Maps'
33
titeSuffix: Microsoft Azure Maps
4-
description: 'Quickstart: Learn how to create interactive, searchable maps. See how to create an Azure Maps account, get a primary key, and use the Web SDK to set up map applications'
4+
description: 'Quickstart: Learn how to create interactive, searchable maps. See how to create an Azure Maps account, get the subscription key, and use the Web SDK to set up map applications'
55
author: eriklindeman
66
ms.author: eriklind
77
ms.date: 12/23/2021
@@ -16,7 +16,7 @@ ms.custom: mvc, mode-other
1616
In this quickstart, you will learn how to use Azure Maps to create a map that gives users an interactive search experience. It walks you through these basic steps:
1717

1818
* Create your own Azure Maps account.
19-
* Get your primary key to use in the demo web application.
19+
* Get your Azure Maps subscription key to use in the demo web application.
2020
* Download and open the demo map application.
2121

2222
This quickstart uses the Azure Maps Web SDK, however the Azure Maps service can be used with any map control, such as these popular [open-source map controls](open-source-projects.md#third-part-map-control-plugins) that the Azure Maps team has created plugin's for.
@@ -49,13 +49,13 @@ Create a new Azure Maps account with the following steps:
4949

5050
## Get the subscription key for your account
5151

52-
Once your Azure Maps account is successfully created, retrieve the primary key that enables you to query the Maps APIs.
52+
Once your Azure Maps account is successfully created, retrieve the subscription key that enables you to query the Maps APIs.
5353

5454
1. Open your Maps account in the portal.
5555
2. In the settings section, select **Authentication**.
5656
3. Copy the **Primary Key** and save it locally to use later in this tutorial.
5757

58-
:::image type="content" source="./media/quick-demo-map-app/get-key.png" alt-text="Screenshot showing your Azure Maps Primary Key in the Azure portal" lightbox="./media/quick-demo-map-app/get-key.png":::
58+
:::image type="content" source="./media/quick-demo-map-app/get-key.png" alt-text="Screenshot showing your Azure Maps subscription key in the Azure portal" lightbox="./media/quick-demo-map-app/get-key.png":::
5959

6060
>[!NOTE]
6161
> This quickstart uses the [Shared Key](azure-maps-authentication.md#shared-key-authentication) authentication approach for demonstration purposes, but the preferred approach for any production environment is to use [Azure Active Directory](azure-maps-authentication.md#azure-ad-authentication) authentication.
@@ -67,7 +67,7 @@ Once your Azure Maps account is successfully created, retrieve the primary key t
6767
3. Add the **Primary Key** value you got in the preceding section
6868
1. Comment out all of the code in the `authOptions` function, this code is used for Azure Active Directory authentication.
6969
1. Uncomment the last two lines in the `authOptions` function, this code is used for Shared Key authentication, the approach being used in this quickstart.
70-
1. Replace `<Your Azure Maps Key>` with the **Primary Key** value from the preceding section.
70+
1. Replace `<Your Azure Maps Key>` with the subscription key value from the preceding section.
7171

7272
## Open the demo application
7373

articles/azure-maps/quick-ios-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Create a new Azure Maps account with the following steps:
5252

5353
![Create an Azure maps account.](./media/shared/create-account.png)
5454

55-
## Get the primary key for your account
55+
## Get the subscription key for your account
5656

5757
Once your Maps account is successfully created, retrieve the primary key that enables you to query the Maps APIs.
5858

0 commit comments

Comments
 (0)