Skip to content

Commit 6d910f1

Browse files
authored
fix access token generation key
1 parent 9d5c7a2 commit 6d910f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/ai-services/computer-vision/how-to/identity-access-token.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ To call the **issueLimitedAccessToken** API, copy the following cURL command to
5757

5858
```bash
5959
curl -X POST 'https://<isv-endpoint>/sts/v1.0/issueLimitedAccessToken?expiredTime=3600' \
60-
-H 'Ocp-Apim-Subscription-Key: <client-face-key>' \
60+
-H 'Ocp-Apim-Subscription-Key: <isv-face-key>' \
6161
-H 'Content-Type: application/json' \
6262
-d '{
6363
"resourceId": "/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.CognitiveServices/accounts/<face-resource-name>",
@@ -68,7 +68,7 @@ curl -X POST 'https://<isv-endpoint>/sts/v1.0/issueLimitedAccessToken?expiredTim
6868
Then, make the following changes:
6969
1. Replace `<isv-endpoint>` with the endpoint of the ISV's resource. For example, **westus.api.cognitive.microsoft.com**.
7070
1. Optionally set the `expiredTime` parameter to set the expiration time of the token in seconds. It must be between 60 and 86400. The default value is 3600 (one hour).
71-
1. Replace `<client-face-key>` with the key of the client's Face resource.
71+
1. Replace `<isv-face-key>` with the key of the ISV's Face resource.
7272
1. Replace `<subscription-id>` with the subscription ID of the client's Azure subscription.
7373
1. Replace `<resource-group-name>` with the name of the client's resource group.
7474
1. Replace `<face-resource-name>` with the name of the client's Face resource.

0 commit comments

Comments
 (0)