Skip to content

Commit 794af3b

Browse files
authored
Merge pull request #205541 from DenKenMSFT/UserStory1971500-04
Subscription key note update - Custom Vision Service
2 parents 6f8317d + 8b440ff commit 794af3b

File tree

10 files changed

+30
-16
lines changed

10 files changed

+30
-16
lines changed

articles/cognitive-services/Custom-Vision-Service/includes/quickstarts/csharp-tutorial-od.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,9 @@ In the application's **Main** method, create variables for your resource's key a
8989

9090
> [!IMPORTANT]
9191
> Go to the Azure portal. If the Custom Vision resources you created in the **Prerequisites** section deployed successfully, click the **Go to Resource** button under **Next Steps**. You can find your keys and endpoint in the resources' **key and endpoint** pages, under **resource management**. You'll need to get the keys for both your training and prediction resources, along with the API endpoint for your training resource.
92-
>
93-
> Remember to remove the keys from your code when you're done, and never post them publicly. For production, consider using a secure way of storing and accessing your credentials. For more information, see the Cognitive Services [security](../../../cognitive-services-security.md) article.
92+
93+
> [!IMPORTANT]
94+
> Remember to remove the keys from your code when you're done, and never post them publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../cognitive-services-security.md) article for more information.
9495
9596
In the application's **Main** method, add calls for the methods used in this quickstart. You will implement these later.
9697

articles/cognitive-services/Custom-Vision-Service/includes/quickstarts/csharp-tutorial.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,9 @@ In the application's **Main** method, create variables for your resource's key a
9494
> Go to the Azure portal. If the Custom Vision resources you created in the **Prerequisites** section deployed successfully, click the **Go to Resource** button under **Next Steps**. You can find your keys and endpoint in the resources' **key and endpoint** pages. You'll need to get the keys for both your training and prediction resources, along with the API endpoint for your training resource.
9595
>
9696
> You can find the prediction resource ID on the resource's **Properties** tab in the Azure portal, listed as **Resource ID**.
97-
>
98-
> Remember to remove the keys from your code when you're done, and never post them publicly. For production, consider using a secure way of storing and accessing your credentials. For more information, see the Cognitive Services [security](../../../cognitive-services-security.md) article.
97+
98+
> [!IMPORTANT]
99+
> Remember to remove the keys from your code when you're done, and never post them publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../cognitive-services-security.md) article for more information.
99100
100101
In the application's **Main** method, add calls for the methods used in this quickstart. You will implement these later.
101102

articles/cognitive-services/Custom-Vision-Service/includes/quickstarts/go-tutorial-object-detection.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ func main() {
9999
project, _ := trainer.CreateProject(ctx, project_name, "", objectDetectDomain.ID, "")
100100
```
101101
102+
> [!IMPORTANT]
103+
> Remember to remove the keys from your code when you're done, and never post them publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../cognitive-services-security.md) article for more information.
104+
102105
## Create tags in the project
103106
104107
To create classification tags to your project, add the following code to the end of *sample.go*:

articles/cognitive-services/Custom-Vision-Service/includes/quickstarts/go-tutorial.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ func main() {
9292
}
9393
```
9494
95+
> [!IMPORTANT]
96+
> Remember to remove the keys from your code when you're done, and never post them publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../cognitive-services-security.md) article for more information.
97+
9598
## Create tags in the project
9699
97100
To create classification tags to your project, add the following code to the end of *sample.go*:

articles/cognitive-services/Custom-Vision-Service/includes/quickstarts/java-tutorial-od.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,9 @@ In the application's **CustomVisionQuickstart** class, create variables for your
9898

9999
> [!IMPORTANT]
100100
> Go to the Azure portal. If the Custom Vision resources you created in the **Prerequisites** section deployed successfully, click the **Go to Resource** button under **Next Steps**. You can find your keys and endpoint in the resources' **key and endpoint** pages, under **resource management**. You'll need to get the keys for both your training and prediction resources, along with the API endpoint for your training resource.
101-
>
102-
> Remember to remove the key from your code when you're done, and never post it publicly. For production, consider using a secure way of storing and accessing your credentials. For more information, see the Cognitive Services [security](../../../cognitive-services-security.md) article.
101+
102+
> [!IMPORTANT]
103+
> Remember to remove the keys from your code when you're done, and never post them publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../cognitive-services-security.md) article for more information.
103104
104105
In the application's **main** method, add calls for the methods used in this quickstart. You'll define these later.
105106

articles/cognitive-services/Custom-Vision-Service/includes/quickstarts/java-tutorial.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,9 @@ In the application's **CustomVisionQuickstart** class, create variables for your
9999
> Go to the Azure portal. If the Custom Vision resources you created in the **Prerequisites** section deployed successfully, click the **Go to Resource** button under **Next Steps**. You can find your keys and endpoint in the resources' **key and endpoint** pages. You'll need to get the keys for both your training and prediction resources, along with the API endpoint for your training resource.
100100
>
101101
> You can find the prediction resource ID on the resource's **Properties** tab in the Azure portal, listed as **Resource ID**.
102-
>
103-
> Remember to remove the key from your code when you're done, and never post it publicly. For production, consider using a secure way of storing and accessing your credentials. For more information, see the Cognitive Services [security](../../../cognitive-services-security.md) article.
102+
103+
> [!IMPORTANT]
104+
> Remember to remove the keys from your code when you're done, and never post them publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../cognitive-services-security.md) article for more information.
104105
105106
In the application's **main** method, add calls for the methods used in this quickstart. You'll define these later.
106107

articles/cognitive-services/Custom-Vision-Service/includes/quickstarts/node-tutorial-object-detection.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,9 @@ Create variables for your resource's Azure endpoint and keys.
7171

7272
> [!IMPORTANT]
7373
> Go to the Azure portal. If the Custom Vision resources you created in the **Prerequisites** section deployed successfully, click the **Go to Resource** button under **Next Steps**. You can find your keys and endpoint in the resources' **key and endpoint** pages, under **resource management**. You'll need to get the keys for both your training and prediction resources, along with the API endpoint for your training resource.
74-
>
75-
> Remember to remove the key from your code when you're done, and never post it publicly. For production, consider using a secure way of storing and accessing your credentials. For more information, see the Cognitive Services [security](../../../cognitive-services-security.md) article.
74+
75+
> [!IMPORTANT]
76+
> Remember to remove the keys from your code when you're done, and never post them publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../cognitive-services-security.md) article for more information.
7677
7778
Also add fields for your project name and a timeout parameter for asynchronous calls.
7879

articles/cognitive-services/Custom-Vision-Service/includes/quickstarts/node-tutorial.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ Create variables for your resource's Azure endpoint and keys.
7373
> Go to the Azure portal. If the Custom Vision Training resource you created in the **Prerequisites** section deployed successfully, click the **Go to Resource** button under **Next Steps**. You can find your key and endpoint in the resource's **key and endpoint** page.
7474
>
7575
>You can find the prediction resource ID on the resource's **Properties** tab in the Azure portal, listed as **Resource ID**.
76-
>
77-
> Remember to remove the key from your code when you're done, and never post it publicly. For production, consider using a secure way of storing and accessing your credentials. For more information, see the Cognitive Services [security](../../../cognitive-services-security.md) article.
76+
77+
> [!IMPORTANT]
78+
> Remember to remove the keys from your code when you're done, and never post them publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../cognitive-services-security.md) article for more information.
7879
7980
Also add fields for your project name and a timeout parameter for asynchronous calls.
8081

articles/cognitive-services/Custom-Vision-Service/includes/quickstarts/python-tutorial-od.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ Create variables for your resource's Azure endpoint and keys.
5858
> Go to the Azure portal. If the Custom Vision resources you created in the **Prerequisites** section deployed successfully, click the **Go to Resource** button under **Next Steps**. You can find your keys and endpoint in the resources' **key and endpoint** pages, under **resource management**. You'll need to get the keys for both your training and prediction resources, along with the API endpoint for your training resource.
5959
>
6060
> You can find the prediction resource ID on the resource's **Properties** tab in the Azure portal, listed as **Resource ID**.
61-
>
62-
> Remember to remove the keys from your code when you're done, and never post them publicly. For production, consider using a secure way of storing and accessing your credentials. For more information, see the Cognitive Services [security](../../../cognitive-services-security.md) article.
61+
62+
> [!IMPORTANT]
63+
> Remember to remove the keys from your code when you're done, and never post them publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../cognitive-services-security.md) article for more information.
6364
6465
## Object model
6566

articles/cognitive-services/Custom-Vision-Service/includes/quickstarts/python-tutorial.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@ Create variables for your resource's Azure endpoint and keys.
5959
> You can find the prediction resource ID on the resource's **Properties** tab in the Azure portal, listed as **Resource ID**.
6060
>
6161
> You also can go to https://www.customvision.ai/. After you sign in, select the **Settings** icon at the top right. On the **Setting** pages, you can get all the keys, resource ID, and endpoints.
62-
>
63-
> Remember to remove the keys from your code when you're done, and never post them publicly. For production, consider using a secure way of storing and accessing your credentials. For more information, see the Cognitive Services [security](../../../cognitive-services-security.md) article.
62+
63+
> [!IMPORTANT]
64+
> Remember to remove the keys from your code when you're done, and never post them publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../cognitive-services-security.md) article for more information.
6465
6566
## Object model
6667

0 commit comments

Comments
 (0)