

# CreateCredentialProviderPool

Creates a CredentialProviderPool. The customer provides the pool name; the service generates the pool id and ARN.

Creation is asynchronous. The operation returns the pool with a transitional `status`, and the pool reaches `READY` or `FAILED` on its own; poll `GetCredentialProviderPool` to observe the transition.

The encryption configuration you set here governs every credential provider in the pool: a provider encrypts the credentials it caches under the pool's configuration unless it overrides that with a customer managed key of its own. A provider that inherits follows the pool, so setting or changing the pool's key later moves those providers onto the new key, while a provider that set its own key is unaffected.

 **Required permissions:** this operation needs additional permissions depending on how you configure the pool. If you associate an IAM Identity Center instance, you also need `sso:CreateApplication`, `sso:PutApplicationAuthenticationMethod`, `sso:PutApplicationGrant`, and `sso:PutApplicationAssignmentConfiguration`. If you encrypt with a customer managed KMS key, you also need `kms:CreateGrant` and `kms:DescribeKey` on that key.

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

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

{
   "clientToken": "{{string}}",
   "encryptionConfiguration": { ... },
   "identityCenterConfiguration": { 
      "idcInstanceArn": "{{string}}"
   },
   "name": "{{string}}",
   "tags": { 
      "{{string}}" : "{{string}}" 
   }
}
```

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

The request does not use any URI parameters.

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

The request accepts the following data in JSON format.

 ** [clientToken](#API_CreateCredentialProviderPool_RequestSyntax) **   <a name="credentialbrokercontrol-CreateCredentialProviderPool-request-clientToken"></a>
SDK auto-populates; enables safe retries.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `[\x21-\x7E]+`   
Required: No

 ** [encryptionConfiguration](#API_CreateCredentialProviderPool_RequestSyntax) **   <a name="credentialbrokercontrol-CreateCredentialProviderPool-request-encryptionConfiguration"></a>
How cached tokens are encrypted at rest for the providers in this pool. Omit to encrypt with a service-owned key. Each provider in the pool uses this configuration unless it overrides it with a customer managed key of its own.  
Type: [EncryptionConfiguration](API_EncryptionConfiguration.md) object  
 **Note: **This object is a Union. Only one member of this object can be specified or returned.  
Required: No

 ** [identityCenterConfiguration](#API_CreateCredentialProviderPool_RequestSyntax) **   <a name="credentialbrokercontrol-CreateCredentialProviderPool-request-identityCenterConfiguration"></a>
Links a credential provider pool to an IAM Identity Center instance, so that providers in the pool can issue credentials for the identity in the caller's Identity Center session. A pool can be associated with at most one instance. Associating an instance creates an Identity Center application that the pool owns; every provider in the pool reports that same application.  
Type: [IdentityCenterConfiguration](API_IdentityCenterConfiguration.md) object  
Required: No

 ** [name](#API_CreateCredentialProviderPool_RequestSyntax) **   <a name="credentialbrokercontrol-CreateCredentialProviderPool-request-name"></a>
The name for the credential provider pool. Must be unique among the pools that currently exist in your account. You can change it later with UpdateCredentialProviderPool.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `[a-zA-Z0-9_.-]{1,128}`   
Required: Yes

 ** [tags](#API_CreateCredentialProviderPool_RequestSyntax) **   <a name="credentialbrokercontrol-CreateCredentialProviderPool-request-tags"></a>
Tags attached to a resource, as key-value pairs. Keys are unique within a resource and are case-sensitive. Use tags to categorize resources and to control access with tag-based IAM policies.  
Type: String to string map  
Map Entries: Minimum number of 0 items. Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Value Length Constraints: Minimum length of 0. Maximum length of 256.  
Required: No

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

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

{
   "createdAt": number,
   "credentialProviderPoolArn": "string",
   "credentialProviderPoolId": "string",
   "encryptionConfiguration": { ... },
   "identityCenterApplicationArn": "string",
   "identityCenterConfiguration": { 
      "idcInstanceArn": "string"
   },
   "name": "string",
   "status": "string",
   "updatedAt": number
}
```

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

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

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

 ** [createdAt](#API_CreateCredentialProviderPool_ResponseSyntax) **   <a name="credentialbrokercontrol-CreateCredentialProviderPool-response-createdAt"></a>
When the pool was created.  
Type: Timestamp

 ** [credentialProviderPoolArn](#API_CreateCredentialProviderPool_ResponseSyntax) **   <a name="credentialbrokercontrol-CreateCredentialProviderPool-response-credentialProviderPoolArn"></a>
Amazon Resource Name of a credential provider pool. Service-generated and stable for the life of the pool. Use it in IAM policies and anywhere an operation accepts a pool identifier.  
Type: String  
Pattern: `arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):credentialbroker:[a-z0-9-]{1,64}:[0-9]{12}:credentialproviderpool/[a-z0-9]{1,64}` 

 ** [credentialProviderPoolId](#API_CreateCredentialProviderPool_ResponseSyntax) **   <a name="credentialbrokercontrol-CreateCredentialProviderPool-response-credentialProviderPoolId"></a>
Service-generated identifier of a credential provider pool. Opaque and stable for the life of the pool.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-z0-9]{1,64}` 

 ** [encryptionConfiguration](#API_CreateCredentialProviderPool_ResponseSyntax) **   <a name="credentialbrokercontrol-CreateCredentialProviderPool-response-encryptionConfiguration"></a>
How cached tokens are encrypted at rest for the providers in this pool. Omit to encrypt with a service-owned key. Each provider in the pool uses this configuration unless it overrides it with a customer managed key of its own.  
Type: [EncryptionConfiguration](API_EncryptionConfiguration.md) object  
 **Note: **This object is a Union. Only one member of this object can be specified or returned.

 ** [identityCenterApplicationArn](#API_CreateCredentialProviderPool_ResponseSyntax) **   <a name="credentialbrokercontrol-CreateCredentialProviderPool-response-identityCenterApplicationArn"></a>
Amazon Resource Name of the IAM Identity Center application created for a pool. Service-generated and read-only. It is created when an Identity Center instance is associated with the pool and deleted when the association is removed. Because the application belongs to the pool, every credential provider in that pool reports the same value.  
Type: String  
Pattern: `arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b|aws-iso-e|aws-iso-f|aws-eusc):sso::[0-9]{12}:application/ssoins-[0-9a-f]{16}/apl-[0-9a-f]{16}` 

 ** [identityCenterConfiguration](#API_CreateCredentialProviderPool_ResponseSyntax) **   <a name="credentialbrokercontrol-CreateCredentialProviderPool-response-identityCenterConfiguration"></a>
Links a credential provider pool to an IAM Identity Center instance, so that providers in the pool can issue credentials for the identity in the caller's Identity Center session. A pool can be associated with at most one instance. Associating an instance creates an Identity Center application that the pool owns; every provider in the pool reports that same application.  
Type: [IdentityCenterConfiguration](API_IdentityCenterConfiguration.md) object

 ** [name](#API_CreateCredentialProviderPool_ResponseSyntax) **   <a name="credentialbrokercontrol-CreateCredentialProviderPool-response-name"></a>
The name of a credential provider pool. Must be unique among the pools that currently exist in your account, and can be changed after creation with UpdateCredentialProviderPool. A deleted pool's name becomes available for reuse.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `[a-zA-Z0-9_.-]{1,128}` 

 ** [status](#API_CreateCredentialProviderPool_ResponseSyntax) **   <a name="credentialbrokercontrol-CreateCredentialProviderPool-response-status"></a>
Lifecycle status of a resource. Create, update, and delete are asynchronous: the operation returns immediately with a transitional status, and the resource reaches `READY` or `FAILED` on its own. Poll with the matching `Get` operation to observe the transition. New values may be added over time, so treat an unrecognized value as "still settling" rather than an error.  
Type: String  
Valid Values: `CREATING | UPDATING | DELETING | READY | FAILED` 

 ** [updatedAt](#API_CreateCredentialProviderPool_ResponseSyntax) **   <a name="credentialbrokercontrol-CreateCredentialProviderPool-response-updatedAt"></a>
When the pool was last modified. Equal to `createdAt` until the first successful update.  
Type: Timestamp

## Errors
<a name="API_CreateCredentialProviderPool_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

 ** ConflictException **   
The request conflicts with the current state of the resource. Nothing was changed. Depending on `reason`, the request may succeed if retried once the resource reaches a settled state, or it may require different input (for example a name that is not already taken).    
 ** resourceId **   
The identifier of the resource the request conflicted with, when the service attributes the conflict to a single resource.  
 ** resourceType **   
The type of the resource named by `resourceId`, when present.
HTTP Status Code: 409

 ** 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

 ** ServiceQuotaExceededException **   
The request would exceed a service quota, so it was rejected and nothing was created or changed. Delete resources that are no longer needed, or request a quota increase in Service Quotas using `serviceCode` and `quotaCode`, then retry.    
 ** quotaCode **   
The Service Quotas requirement that identifies the originating quota.  
 ** resourceId **   
The identifier of the resource whose quota was exceeded, when the quota applies to a specific resource rather than the account.  
 ** resourceType **   
The type of the resource named by `resourceId`, when present.  
 ** serviceCode **   
The Service Quotas requirement that identifies the originating service.
HTTP Status Code: 402

 ** 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_CreateCredentialProviderPool_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/CreateCredentialProviderPool) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/credentialbroker-control-2026-09-30/CreateCredentialProviderPool) 
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/credentialbroker-control-2026-09-30/CreateCredentialProviderPool) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/credentialbroker-control-2026-09-30/CreateCredentialProviderPool) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/credentialbroker-control-2026-09-30/CreateCredentialProviderPool) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/credentialbroker-control-2026-09-30/CreateCredentialProviderPool) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/credentialbroker-control-2026-09-30/CreateCredentialProviderPool) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/credentialbroker-control-2026-09-30/CreateCredentialProviderPool) 
+  [AWS SDK for Python (Boto3)](https://docs.aws.amazon.com/goto/boto3/credentialbroker-control-2026-09-30/CreateCredentialProviderPool) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/credentialbroker-control-2026-09-30/CreateCredentialProviderPool) 