1313 validate_path_param ,
1414)
1515from .types import (
16+ ListAPIKeysRequestBearerType ,
1617 ListAPIKeysRequestOrderBy ,
1718 ListApplicationsRequestOrderBy ,
1819 ListGroupsRequestOrderBy ,
@@ -1472,6 +1473,11 @@ async def list_api_keys(
14721473 application_id : Optional [str ] = None ,
14731474 user_id : Optional [str ] = None ,
14741475 editable : Optional [bool ] = None ,
1476+ expirable : Optional [bool ] = None ,
1477+ access_key : Optional [str ] = None ,
1478+ description : Optional [str ] = None ,
1479+ bearer_id : Optional [str ] = None ,
1480+ bearer_type : ListAPIKeysRequestBearerType = ListAPIKeysRequestBearerType .UNKNOWN_BEARER_TYPE ,
14751481 ) -> ListAPIKeysResponse :
14761482 """
14771483 List API keys
@@ -1486,6 +1492,11 @@ async def list_api_keys(
14861492
14871493 One-of ('bearer'): at most one of 'application_id', 'user_id' could be set.
14881494 :param editable: Filter out editable API keys or not
1495+ :param expirable: Filter out expirable API keys or not
1496+ :param access_key: Filter out by access key
1497+ :param description: Filter out by description
1498+ :param bearer_id: Filter out by bearer ID
1499+ :param bearer_type: Filter out by type of bearer
14891500 :return: :class:`ListAPIKeysResponse <ListAPIKeysResponse>`
14901501
14911502 Usage:
@@ -1498,7 +1509,12 @@ async def list_api_keys(
14981509 "GET" ,
14991510 f"/iam/v1alpha1/api-keys" ,
15001511 params = {
1512+ "access_key" : access_key ,
1513+ "bearer_id" : bearer_id ,
1514+ "bearer_type" : bearer_type ,
1515+ "description" : description ,
15011516 "editable" : editable ,
1517+ "expirable" : expirable ,
15021518 "order_by" : order_by ,
15031519 "organization_id" : organization_id
15041520 or self .client .default_organization_id ,
@@ -1526,6 +1542,11 @@ async def list_api_keys_all(
15261542 application_id : Optional [str ] = None ,
15271543 user_id : Optional [str ] = None ,
15281544 editable : Optional [bool ] = None ,
1545+ expirable : Optional [bool ] = None ,
1546+ access_key : Optional [str ] = None ,
1547+ description : Optional [str ] = None ,
1548+ bearer_id : Optional [str ] = None ,
1549+ bearer_type : Optional [ListAPIKeysRequestBearerType ] = None ,
15291550 ) -> List [APIKey ]:
15301551 """
15311552 List API keys
@@ -1540,6 +1561,11 @@ async def list_api_keys_all(
15401561
15411562 One-of ('bearer'): at most one of 'application_id', 'user_id' could be set.
15421563 :param editable: Filter out editable API keys or not
1564+ :param expirable: Filter out expirable API keys or not
1565+ :param access_key: Filter out by access key
1566+ :param description: Filter out by description
1567+ :param bearer_id: Filter out by bearer ID
1568+ :param bearer_type: Filter out by type of bearer
15431569 :return: :class:`List[ListAPIKeysResponse] <List[ListAPIKeysResponse]>`
15441570
15451571 Usage:
@@ -1560,6 +1586,11 @@ async def list_api_keys_all(
15601586 "application_id" : application_id ,
15611587 "user_id" : user_id ,
15621588 "editable" : editable ,
1589+ "expirable" : expirable ,
1590+ "access_key" : access_key ,
1591+ "description" : description ,
1592+ "bearer_id" : bearer_id ,
1593+ "bearer_type" : bearer_type ,
15631594 },
15641595 )
15651596
0 commit comments