aws.cloudtrail.list_public_keys
Example SQL Queries
SELECT * FROMaws.cloudtrail.list_public_keys;Description
Returns all public keys whose private keys were used to sign the digest files within the specified time range. The public key is needed to validate digest files that were signed with its corresponding private key.
CloudTrail uses different private and public key pairs per Region. Each digest file is signed with a private key unique to its Region. When you validate a digest file from a specific Region, you must look in the same Region for its corresponding public key.
Table Definition
| Column Name | Column Data Type |
|---|---|
| end_time Input Column Optionally specifies, in UTC, the end of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used. | TIMESTAMP_S |
| start_time Input Column Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used, and the current public key is returned. | TIMESTAMP_S |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| fingerprint The fingerprint of the public key. | VARCHAR |
| validity_end_time The ending time of validity of the public key. | TIMESTAMP_S |
| validity_start_time The starting time of validity of the public key. | TIMESTAMP_S |
| value The DER encoded public key value in PKCS#1 format. | BLOB |