Skip to main content

accounts_keys

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

Overview

Nameaccounts_keys
TypeResource
Idazure.maps.accounts_keys

Fields

NameDatatypeDescription
primaryKeystringThe primary key for accessing the Maps REST APIs.
primaryKeyLastUpdatedstringThe last updated date and time of the primary key.
secondaryKeystringThe secondary key for accessing the Maps REST APIs.
secondaryKeyLastUpdatedstringThe last updated date and time of the secondary key.

Methods

NameAccessible byRequired ParamsDescription
listSELECTaccountName, resourceGroupName, subscriptionIdGet the keys to use with the Maps APIs. A key is used to authenticate and authorize access to the Maps REST APIs. Only one key is needed at a time; two are given to provide seamless key regeneration.

SELECT examples

Get the keys to use with the Maps APIs. A key is used to authenticate and authorize access to the Maps REST APIs. Only one key is needed at a time; two are given to provide seamless key regeneration.

SELECT
primaryKey,
primaryKeyLastUpdated,
secondaryKey,
secondaryKeyLastUpdated
FROM azure.maps.accounts_keys
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';