Smaws_Client_KMS.ListKeys
val request :
Smaws_Lib.Context.t ->
list_keys_request ->
(list_keys_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `DependencyTimeoutException of dependency_timeout_exception
| `InvalidMarkerException of invalid_marker_exception
| `KMSInternalException of kms_internal_exception ])
Stdlib.result
Gets a list of all KMS keys in the caller's Amazon Web Services account and Region.
Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.
Required permissions: kms:ListKeys (IAM policy)
Related operations:
CreateKey
DescribeKey
ListAliases
ListResourceTags
Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.