Skip to main content
client.kms.list_keys() lists the keys in a KMS project.

Parameters

str
required
The ID of the KMS project.
Text to find in key names.
KmsKeysOrderBy
default:"KmsKeysOrderBy.NAME"
What to sort the keys by.
OrderDirection
default:"OrderDirection.ASC"
The direction to sort in, OrderDirection.ASC or OrderDirection.DESC. Import both enums from infisical_sdk.api_types.
int
default:"100"
The maximum number of keys to return.
int
default:"0"
The number of keys to skip.

Returns

ListKmsKeysResponse
The keys in keys, and the total number of matching keys in totalCount.