Smaws_Client_KMS.ListKeys
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.
val request :
Smaws_Lib.Context.t ->
Types.list_keys_request ->
(Types.list_keys_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `DependencyTimeoutException of Types.dependency_timeout_exception
| `InvalidMarkerException of Types.invalid_marker_exception
| `KMSInternalException of Types.kms_internal_exception ])
Stdlib.result