cloudtrail_list_public_keys: Returns all public keys whose private keys were used to sign...

Description Usage Arguments Value Request syntax

View source: R/cloudtrail_operations.R

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/public key pairs per region. Each digest file is signed with a private key unique to its region. Therefore, when you validate a digest file from a particular region, you must look in the same region for its corresponding public key.

Usage

1
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:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
list(
  PublicKeyList = list(
    list(
      Value = raw,
      ValidityStartTime = as.POSIXct(
        "2015-01-01"
      ),
      ValidityEndTime = as.POSIXct(
        "2015-01-01"
      ),
      Fingerprint = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

1
2
3
4
5
6
7
8
9
svc$list_public_keys(
  StartTime = as.POSIXct(
    "2015-01-01"
  ),
  EndTime = as.POSIXct(
    "2015-01-01"
  ),
  NextToken = "string"
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.