Skip to content

KMSClient.describe_custom_key_stores

rboto-kms==0.4.0 · Service index · Types

Model summary (excerpt): Gets information about custom key stores in the account and Region. This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage. By default, this operation returns information about all custom key stores in the account and Region. To get only information...

Install and imports

python -m pip install "rboto[kms]==0.4.0"
from rboto import KMSClient
from rboto_kms.types import (
    DescribeCustomKeyStoresOutput,
)

Signature

async def describe_custom_key_stores(
    *,
    custom_key_store_id: str | None = None,
    custom_key_store_name: str | None = None,
    limit: int | None = None,
    marker: str | None = None,
) -> DescribeCustomKeyStoresOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
custom_key_store_id No Gets only information about the specified custom key store. Enter the key store ID. By default, this operation gets information about all custom key stores in the account and Region. To limit the output to a particular custom key store, provide either the CustomKeyStoreId or CustomKeyStoreName parameter, but not both.
custom_key_store_name No Gets only information about the specified custom key store. Enter the friendly name of the custom key store. By default, this operation gets information about all custom key stores in the account and Region. To limit the output to a particular custom key store, provide either the CustomKeyStoreId or CustomKeyStoreName parameter, but not both.
limit No Use this parameter to specify the maximum number of items to return. When this value is present, KMS does not return more than the specified number of items, but it might return fewer.
marker No Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of NextMarker from the truncated response you just received.

Output

DescribeCustomKeyStoresOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
custom_key_stores list[CustomKeyStoresListEntryOutput] | None Always present CustomKeyStoresListEntryOutput
next_marker str | None Always present —
truncated bool Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

DescribeCustomKeyStoresOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

client.paginators.describe_custom_key_stores(...) accepts the same arguments and returns AsyncIterator[DescribeCustomKeyStoresOutput]. Direct calls return one page. Pages preserve the Output representation above.

Input cursors: marker. Page-size argument: limit.

No output stream.

Errors

Import from rboto_kms.exceptions:

CustomKeyStoreNotFoundError, InvalidMarkerError, KMSInternalError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model