

# ListCredentialProviderPools

Lists the CredentialProviderPools in your account, optionally filtered by name substring. Each entry is a summary that omits the pool's encryption and IAM Identity Center configuration; call `GetCredentialProviderPool` for a single pool's full detail.

## Request Syntax
<a name="API_ListCredentialProviderPools_RequestSyntax"></a>

```
POST /ListCredentialProviderPools HTTP/1.1
Content-type: application/json

{
   "maxResults": {{number}},
   "nameContains": "{{string}}",
   "nextToken": "{{string}}"
}
```

## URI Request Parameters
<a name="API_ListCredentialProviderPools_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_ListCredentialProviderPools_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [maxResults](#API_ListCredentialProviderPools_RequestSyntax) **   <a name="credentialbrokercontrol-ListCredentialProviderPools-request-maxResults"></a>
The maximum number of pools to return in one page. The service might return fewer than the number you request even when more results are available, so check `nextToken` on every response rather than inferring from the number of items returned.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 20.  
Required: No

 ** [nameContains](#API_ListCredentialProviderPools_RequestSyntax) **   <a name="credentialbrokercontrol-ListCredentialProviderPools-request-nameContains"></a>
Return only pools whose name contains this substring. Matching is case-sensitive. Omit to return pools of any name.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Required: No

 ** [nextToken](#API_ListCredentialProviderPools_RequestSyntax) **   <a name="credentialbrokercontrol-ListCredentialProviderPools-request-nextToken"></a>
Continues a previous `ListCredentialProviderPools` call. Set it to the `nextToken` the previous response returned, passed back unchanged. Valid only when you received a `nextToken`; there is no dedicated error for a token that is invalid or no longer current, so one is rejected as `ValidationException`.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Required: No

## Response Syntax
<a name="API_ListCredentialProviderPools_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "items": [ 
      { 
         "createdAt": number,
         "credentialProviderPoolArn": "string",
         "credentialProviderPoolId": "string",
         "name": "string",
         "status": "string",
         "updatedAt": number
      }
   ],
   "nextToken": "string"
}
```

## Response Elements
<a name="API_ListCredentialProviderPools_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [items](#API_ListCredentialProviderPools_ResponseSyntax) **   <a name="credentialbrokercontrol-ListCredentialProviderPools-response-items"></a>
A page of credential provider pools, each a summary that omits the pool's encryption and IAM Identity Center configuration. Empty when the account has no pools, or none that match the requested filter.  
Type: Array of [CredentialProviderPoolSummary](API_CredentialProviderPoolSummary.md) objects

 ** [nextToken](#API_ListCredentialProviderPools_ResponseSyntax) **   <a name="credentialbrokercontrol-ListCredentialProviderPools-response-nextToken"></a>
Present when more results are available than this response contains; absent on the last page. Call `ListCredentialProviderPools` again with this value to get the next page, and repeat until a response comes back without a `nextToken`.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.

## Errors
<a name="API_ListCredentialProviderPools_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
The caller is not authorized to perform the request, or a resource the request depends on refused access. `reason` distinguishes a denial by this service from a denial reported by a dependency the caller configured, such as a customer-owned secret, KMS key, or external identity provider, which usually points at a permission or configuration fix outside this API.  
HTTP Status Code: 403

 ** InternalServerException **   
The request failed because of an unexpected error in the service. Whether the request took effect is undefined, so for a create or update, read the resource back before retrying. Retryable: the same request may succeed later.    
 ** retryAfterSeconds **   
The number of seconds to wait before retrying. If this field is absent, retry with exponential backoff.
HTTP Status Code: 500

 ** ThrottlingException **   
The request was denied because the caller exceeded a request rate limit. Nothing was changed. Retry with exponential backoff, honoring `retryAfterSeconds` when it is present.    
 ** retryAfterSeconds **   
The number of seconds to wait before retrying. If this field is absent, retry with exponential backoff.
HTTP Status Code: 429

 ** ValidationException **   
The request is not valid. The request was rejected before any change was made, so it is safe to correct the input and retry. Use `reason` to branch in code and `message` for the human-readable detail of which field or combination of fields was at fault.  
HTTP Status Code: 400

## See Also
<a name="API_ListCredentialProviderPools_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/credentialbroker-control-2026-09-30/ListCredentialProviderPools) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/credentialbroker-control-2026-09-30/ListCredentialProviderPools) 
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/credentialbroker-control-2026-09-30/ListCredentialProviderPools) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/credentialbroker-control-2026-09-30/ListCredentialProviderPools) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/credentialbroker-control-2026-09-30/ListCredentialProviderPools) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/credentialbroker-control-2026-09-30/ListCredentialProviderPools) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/credentialbroker-control-2026-09-30/ListCredentialProviderPools) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/credentialbroker-control-2026-09-30/ListCredentialProviderPools) 
+  [AWS SDK for Python (Boto3)](https://docs.aws.amazon.com/goto/boto3/credentialbroker-control-2026-09-30/ListCredentialProviderPools) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/credentialbroker-control-2026-09-30/ListCredentialProviderPools) 