CredentialBrokerControl / Client / get_credential_provider_pool
get_credential_provider_pool¶
- CredentialBrokerControl.Client.get_credential_provider_pool(**kwargs)¶
Retrieves a CredentialProviderPool by identifier. The response does not include the pool’s tags; call
ListTagsForResourcefor those.This is also the operation to poll while an asynchronous create, update, or delete settles:
statusreports the transition. Once a delete finishes the pool no longer exists, so this operation returnsResourceNotFoundExceptionrather than a deleted status.See also: AWS API Documentation
Request Syntax
response = client.get_credential_provider_pool( credentialProviderPoolIdentifier='string' )
- Parameters:
credentialProviderPoolIdentifier (string) –
[REQUIRED]
Identifies a credential provider pool. Accepts either the pool’s ARN or its service-generated ID; both refer to the same pool.
- Return type:
dict
- Returns:
Response Syntax
{ 'credentialProviderPoolArn': 'string', 'credentialProviderPoolId': 'string', 'name': 'string', 'status': 'CREATING'|'UPDATING'|'DELETING'|'READY'|'FAILED', 'encryptionConfiguration': { 'customerManaged': { 'kmsKeyIdentifier': 'string' }, 'serviceManaged': {} }, 'identityCenterConfiguration': { 'idcInstanceArn': 'string' }, 'identityCenterApplicationArn': 'string', 'statusReason': 'string', 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1) }
Response Structure
(dict) –
credentialProviderPoolArn (string) –
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.
credentialProviderPoolId (string) –
Service-generated identifier of a credential provider pool. Opaque and stable for the life of the pool. Accepted anywhere an operation takes a pool identifier, in place of the pool’s ARN.
name (string) –
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.
status (string) –
Lifecycle status of a resource. Create, update, and delete are asynchronous: the operation returns immediately with a transitional status, and the resource reaches
READYorFAILEDon its own. Poll with the matchingGetoperation to observe the transition. New values may be added over time, so treat an unrecognized value as “still settling” rather than an error.encryptionConfiguration (dict) –
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.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
customerManaged,serviceManaged. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBERis as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
customerManaged (dict) –
Encrypt with a customer managed KMS key that you own.
kmsKeyIdentifier (string) –
Identifier of the customer-managed KMS key used to encrypt cached tokens. Accepts a key ARN (
...:key/<id>), an alias ARN (...:alias/<name>), or a bare alias name (alias/<name>). Any alias is dereferenced to its underlying key ARN viakms:DescribeKeyat create/update time, and only the resolved key ARN is persisted and returned, a KMS alias is a mutable pointer, so pinning the key ARN keeps the configuration stable. A bare alias name resolves in the caller’s own account and Region; to reference a key in a different account (cross-account), supply a full key ARN or alias ARN so the account is explicit.
serviceManaged (dict) –
Encrypt with a service-owned, AWS-managed key. Carries no parameters.
identityCenterConfiguration (dict) –
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.
idcInstanceArn (string) –
Amazon Resource Name of the IAM Identity Center instance to associate with a pool. The instance must already exist and be in the same Region as the pool.
identityCenterApplicationArn (string) –
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.
statusReason (string) –
Present when status = FAILED.
createdAt (datetime) –
When the pool was created.
updatedAt (datetime) –
When the pool was last modified. Equal to
createdAtuntil the first successful update.
Exceptions
CredentialBrokerControl.Client.exceptions.ThrottlingExceptionCredentialBrokerControl.Client.exceptions.ResourceNotFoundExceptionCredentialBrokerControl.Client.exceptions.InternalServerExceptionCredentialBrokerControl.Client.exceptions.AccessDeniedExceptionCredentialBrokerControl.Client.exceptions.ValidationException