This guide provides step-by-step instructions to access Face Client SDK release artifacts from Azure.
- An Azure Subscription ID approved for Face Liveness Detection (complete the Face Recognition intake form).
- Azure account with Cognitive Services Contributor role with subscription-level scope, or equivalently, the following permissions with subscription-level scope:
Install Azure Command-Line Interface (CLI) as per the documentation here.
-
Open your command-line tool (e.g., Terminal in Linux/MacOS, PowerShell in Windows).
-
Run the following script:
Parameters:
- subscriptionId: Azure Subscription ID that has been registered for Face API Limited Access.
For Linux/MacOS or Shell:
./scripts/get_face_access_token.sh #SUBSCRIPTION_ID#
For Windows or PowerShell:
./scripts/get_face_access_token.ps1 -subscriptionId #SUBSCRIPTION_ID#
This endpoint is available for token generations and queries:
-
Token Generation (POST)/ Query (GET) Endpoint (
POST
):https://face-sdk-gating-helper-2.azurewebsites.net/sdk/subscriptions/{subscriptionId}/tokens?id={tokenId}
Note: The
GET
endpoint lists all tokens iftokenId
is not specified. UsePOST
to generate tokens if none exist.