def iter_list_keys(
self,
*,
config_overrides: Optional[KMSClientConfig] = None,
limit: Optional["capo_kms.types.limit_type.LimitType"] = None,
marker: Optional["capo_kms.types.marker_type.MarkerType"] = None,
) -> "Iterator[capo_kms.types.key_list_entry.KeyListEntry]":
_token = marker
while True:
_response = self.list_keys(
config_overrides=config_overrides,
limit=limit,
marker=_token,
)
_page = _resolve_path(_response, ("keys",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_marker",))
if not _token:
break