Skip to main content

keys

Retrieves a list of keys in a region

Overview

Namekeys
TypeResource
Descriptionkeys
Idawscc.kms.keys

Fields

NameDatatypeDescription
key_idstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
key_id
FROM awscc.kms.keys
WHERE region = 'us-east-1'

Permissions

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

Create

kms:CreateKey,
kms:EnableKeyRotation,
kms:DisableKey,
kms:TagResource,
kms:PutKeyPolicy

List

kms:ListKeys,
kms:DescribeKey