## List account stores `secrets_store.stores.list(StoreListParams**kwargs) -> SyncV4PagePaginationArray[StoreListResponse]` **get** `/accounts/{account_id}/secrets_store/stores` Lists all the stores in an account ### Parameters - `account_id: str` Account Identifier - `direction: Optional[Literal["asc", "desc"]]` Direction to sort objects - `"asc"` - `"desc"` - `order: Optional[Literal["name", "comment", "created", 2 more]]` Order secrets by values in the given field - `"name"` - `"comment"` - `"created"` - `"modified"` - `"status"` - `page: Optional[int]` Page number - `per_page: Optional[int]` Number of objects to return per page ### Returns - `class StoreListResponse: …` - `id: str` Store Identifier - `created: datetime` Whenthe secret was created. - `modified: datetime` When the secret was modified. - `name: str` The name of the store ### Example ```python import os from cloudflare import Cloudflare client = Cloudflare( api_email=os.environ.get("CLOUDFLARE_EMAIL"), # This is the default and can be omitted api_key=os.environ.get("CLOUDFLARE_API_KEY"), # This is the default and can be omitted ) page = client.secrets_store.stores.list( account_id="985e105f4ecef8ad9ca31a8372d0c353", ) page = page.result[0] print(page.id) ``` #### Response ```json { "errors": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "messages": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "success": true, "result": [ { "id": "023e105f4ecef8ad9ca31a8372d0c353", "created": "2023-09-21T18:56:32.624632Z", "modified": "2023-09-21T18:56:32.624632Z", "name": "service_x_keys" } ], "result_info": { "count": 1, "page": 1, "per_page": 20, "total_count": 2000 } } ```