Skip to content

List Public Keys

cloudtrail_list_public_keys R Documentation

Returns all public keys whose private keys were used to sign the digest files within the specified time range

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.

Usage

cloudtrail_list_public_keys(StartTime, EndTime, NextToken)

Arguments

StartTime

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.

EndTime

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.

NextToken

Reserved for future use.

Value

A list with the following syntax:

list(
  PublicKeyList = list(
    list(
      Value = raw,
      ValidityStartTime = as.POSIXct(
        "2015-01-01"
      ),
      ValidityEndTime = as.POSIXct(
        "2015-01-01"
      ),
      Fingerprint = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_public_keys(
  StartTime = as.POSIXct(
    "2015-01-01"
  ),
  EndTime = as.POSIXct(
    "2015-01-01"
  ),
  NextToken = "string"
)