This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::CredentialBroker::CredentialProviderPool
Specifies an Amazon IAM CredentialBroker credential provider pool. A pool groups credential providers and holds the settings they share: how their cached tokens are encrypted at rest, and an optional association with an IAM Identity Center instance. Minimally, you must specify the following property:
-
Name– Specify a name for the credential provider pool. The name must be unique among the pools that currently exist in your account.
Optionally, specify EncryptionConfiguration to choose how cached tokens
are encrypted, or IdentityCenterConfiguration to associate the pool with an
IAM Identity Center instance.
See the Properties section below for descriptions of both the required and optional properties.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::CredentialBroker::CredentialProviderPool", "Properties" : { "EncryptionConfiguration" :EncryptionConfiguration, "IdentityCenterConfiguration" :IdentityCenterConfiguration, "Name" :String, "Tags" :[ Tag, ... ]} }
YAML
Type: AWS::CredentialBroker::CredentialProviderPool Properties: EncryptionConfiguration:EncryptionConfigurationIdentityCenterConfiguration:IdentityCenterConfigurationName:StringTags:- Tag
Properties
EncryptionConfiguration-
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.
If you remove this property from your template in a stack update, the pool keeps its current key. To switch a pool from a customer managed key back to a service-owned key, set
ServiceManaged.Required: No
Type: EncryptionConfiguration
Update requires: No interruption
IdentityCenterConfiguration-
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.
You can add or remove this property in a stack update without replacing the pool. Removing it deletes the pool's Identity Center application, so providers in the pool can no longer issue credentials for the caller's Identity Center identity. To use a different Identity Center instance, remove this property in one update and add the new instance in a later update.
Required: No
Type: IdentityCenterConfiguration
Update requires: No interruption
Name-
The name for the credential provider pool. Must be unique among the pools that currently exist in your account. To rename the pool, change this value in your template; the pool is updated in place.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9_.-]{1,128}$Minimum:
1Maximum:
128Update requires: No interruption
-
Metadata that you can assign to the credential provider pool as key-value pairs. You can specify up to 50 tags. For more information, see the following resources:
Required: No
Type: Array of Tag
Maximum:
50Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the Amazon Resource Name (ARN) of the pool, which is the
resource's primary identifier.
For more information about using the Ref function, see Ref.
Fn::GetAtt
The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.
CreatedAt-
The ISO 8601 timestamp of when the credential provider pool was created.
CredentialProviderPoolArn-
The Amazon Resource Name (ARN) of the pool. This is the primary identifier and the value returned by
Ref. CredentialProviderPoolIdentifier-
The service-generated identifier of the pool. This is an additional identifier accepted by operations that accept a pool identifier; it is not the value returned by
Ref. IdentityCenterApplicationArn-
The Amazon Resource Name (ARN) of the IAM Identity Center application the service created on behalf of this pool when
IdentityCenterConfigurationwas supplied. Empty when the pool is not bound to IAM Identity Center. Status-
The lifecycle status of the pool. Create, update, and delete operations are asynchronous. Possible values are
CREATING,UPDATING,DELETING,READY, andFAILED. UpdatedAt-
The ISO 8601 timestamp of when the credential provider pool was last updated.
Examples
The following example creates a credential provider pool using service-managed encryption.
Create a credential provider pool
YAML
Resources: CredentialProviderPool: Type: AWS::CredentialBroker::CredentialProviderPool Properties: Name: example-pool EncryptionConfiguration: ServiceManaged: {}