Smaws_Client_CloudTrail.ListPublicKeys
val request :
Smaws_Lib.Context.t ->
list_public_keys_request ->
(list_public_keys_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidTimeRangeException of invalid_time_range_exception
| `InvalidTokenException of invalid_token_exception
| `OperationNotPermittedException of operation_not_permitted_exception
| `UnsupportedOperationException of unsupported_operation_exception ])
Stdlib.result
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.