accounts_keys
Creates, updates, deletes, gets or lists a accounts_keys
resource.
Overview
Name | accounts_keys |
Type | Resource |
Id | azure.maps.accounts_keys |
Fields
Name | Datatype | Description |
---|---|---|
primaryKey | string | The primary key for accessing the Maps REST APIs. |
primaryKeyLastUpdated | string | The last updated date and time of the primary key. |
secondaryKey | string | The secondary key for accessing the Maps REST APIs. |
secondaryKeyLastUpdated | string | The last updated date and time of the secondary key. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | accountName, resourceGroupName, subscriptionId | 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
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 }}';