Skip to main content

api_key

Gets an individual api_key resource

Overview

Nameapi_key
TypeResource
Descriptionapi_key
Idawscc.location.api_key

Fields

NameDatatypeDescription
create_timestring
descriptionstring
expire_timestring
force_updateboolean
key_arnstring
key_namestring
no_expiryboolean
restrictionsobject
tagsarrayAn array of key-value pairs to apply to this resource.
update_timestring
force_deleteboolean
arnstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
create_time,
description,
expire_time,
force_update,
key_arn,
key_name,
no_expiry,
restrictions,
tags,
update_time,
force_delete,
arn
FROM awscc.location.api_key
WHERE data__Identifier = '<KeyName>';

Permissions

To operate on the api_key resource, the following permissions are required:

Read

geo:DescribeKey

Update

geo:CreateKey,
geo:DescribeKey,
geo:TagResource,
geo:UntagResource,
geo:GetMapTile,
geo:GetMapStyleDescriptor,
geo:GetMapSprites,
geo:GetMapGlyphs,
geo:SearchPlaceIndexForText,
geo:SearchPlaceIndexForPosition,
geo:SearchPlaceIndexForSuggestions,
geo:GetPlace,
geo:CalculateRoute,
geo:CalculateRouteMatrix,
geo:UpdateKey

Delete

geo:DeleteKey,
geo:DescribeKey