// 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.
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.
// 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 .
func (c *Client) ListPublicKeys(ctx context.Context, params *ListPublicKeysInput, optFns ...func(*Options)) (*ListPublicKeysOutput, error) {
	if params == nil {
		params = &ListPublicKeysInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListPublicKeys", params, optFns, addOperationListPublicKeysMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListPublicKeysOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListPublicKeys ( ctx context . Context , params * ListPublicKeysInput , optFns ... func ( * Options ) ) ( * ListPublicKeysOutput , error ) { if params == nil { params = & ListPublicKeysInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListPublicKeysMiddlewares ) if err != nil { return nil , err } out := result . ( * ListPublicKeysOutput ) out . ResultMetadata = metadata return out , nil }
Returns all public keys whose private keys were used to sign the digest files
within the specified time range.
Returns all public keys whose private keys were used to sign the digest files within the specified time range .