accounts_keys
Creates, updates, deletes, gets or lists an accounts_keys
resource.
Overview
Name | accounts_keys |
Type | Resource |
Id | azure.maps.accounts_keys |
Fields
The following fields are returned by SELECT
queries:
- list
The request was successful.
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
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | subscriptionId , resourceGroupName , accountName | 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. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
accountName | string | The name of the Maps Account. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT
examples
- list
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 subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
;