Skip to main content

accounts_sas

Creates, updates, deletes, gets or lists a accounts_sas resource.

Overview

Nameaccounts_sas
TypeResource
Idazure.maps.accounts_sas

Fields

NameDatatypeDescription
accountSasTokenstringThe shared access signature access token.

Methods

NameAccessible byRequired ParamsDescription
listSELECTaccountName, resourceGroupName, subscriptionId, data__expiry, data__maxRatePerSecond, data__principalId, data__signingKey, data__startCreate 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:

  1. Create or have an existing User Assigned Managed Identity in the same Azure region as the account.
  2. 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:

  1. Create or have an existing User Assigned Managed Identity in the same Azure region as the account.
  2. 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 }}';