accounts_sas
Creates, updates, deletes, gets or lists a accounts_sas
resource.
Overview
Name | accounts_sas |
Type | Resource |
Id | azure.maps.accounts_sas |
Fields
Name | Datatype | Description |
---|---|---|
accountSasToken | string | The shared access signature access token. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | accountName, resourceGroupName, subscriptionId, data__expiry, data__maxRatePerSecond, data__principalId, data__signingKey, data__start | Create and list an account shared access signature token. Use this SAS token for authentication to Azure Maps REST APIs through various Azure Maps SDKs. As prerequisite to create a SAS Token. |
Prerequisites:
- Create or have an existing User Assigned Managed Identity in the same Azure region as the account.
- Create or update an Azure Maps account with the same Azure region as the User Assigned Managed Identity is placed. |
SELECT
examples
Create and list an account shared access signature token. Use this SAS token for authentication to Azure Maps REST APIs through various Azure Maps SDKs. As prerequisite to create a SAS Token.
Prerequisites:
- Create or have an existing User Assigned Managed Identity in the same Azure region as the account.
- Create or update an Azure Maps account with the same Azure region as the User Assigned Managed Identity is placed.
SELECT
accountSasToken
FROM azure.maps.accounts_sas
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND data__expiry = '{{ data__expiry }}'
AND data__maxRatePerSecond = '{{ data__maxRatePerSecond }}'
AND data__principalId = '{{ data__principalId }}'
AND data__signingKey = '{{ data__signingKey }}'
AND data__start = '{{ data__start }}';