SDK for PHP V3

Client: Aws\CredentialBrokerControl\CredentialBrokerControlClient
Service ID: credentialbroker-control
Version: 2026-09-30

This page describes the parameters and results for the operations of the AWS IAM CredentialBroker Control (2026-09-30), and shows how to use the Aws\CredentialBrokerControl\CredentialBrokerControlClient object to call the described operations. This documentation is specific to the 2026-09-30 API version of the service.

Service Description

AWS IAM CredentialBroker Control

AWS IAM CredentialBroker obtains, refreshes, authorizes and vaults credentials issued by external identity providers and authorization servers on behalf of your workloads, so the workloads never handle long-lived secrets directly.

Operation Summary

Each of the following operations can be created from a client using $client->getCommand('CommandName'), where "CommandName" is the name of one of the following operations. Note: a command is a value that encapsulates an operation and the parameters used to create an HTTP request.

You can also create and send a command immediately using the magic methods available on a client object: $client->commandName(/* parameters */). You can send the command asynchronously (returning a promise) by appending the word "Async" to the operation name: $client->commandNameAsync(/* parameters */).

CreateCredentialProvider ( array $params = [] )
Creates a CredentialProvider under a parent CredentialProviderPool.
CreateCredentialProviderPool ( array $params = [] )
Creates a CredentialProviderPool.
DeleteCredentialProvider ( array $params = [] )
Accepts an asynchronous request to delete a CredentialProvider of any provider type.
DeleteCredentialProviderPool ( array $params = [] )
Deletes a CredentialProviderPool.
GetCredentialProvider ( array $params = [] )
Retrieves a CredentialProvider of any provider type.
GetCredentialProviderPool ( array $params = [] )
Retrieves a CredentialProviderPool by identifier.
ListCredentialProviderPools ( array $params = [] )
Lists the CredentialProviderPools in your account, optionally filtered by name substring.
ListCredentialProviders ( array $params = [] )
Lists the CredentialProviders in a pool, optionally filtered by name substring and provider type.
ListTagsForResource ( array $params = [] )
Lists the tags attached to a credential provider pool or a credential provider.
TagResource ( array $params = [] )
Adds or replaces tags on a credential provider pool or a credential provider.
UntagResource ( array $params = [] )
Removes tags from a credential provider pool or a credential provider.
UpdateCredentialProvider ( array $params = [] )
Updates a CredentialProvider asynchronously.
UpdateCredentialProviderPool ( array $params = [] )
Updates a CredentialProviderPool.

Paginators

Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:

ListCredentialProviderPools
ListCredentialProviders

Waiters

Waiters allow you to poll a resource until it enters into a desired state. A waiter has a name used to describe what it does, and is associated with an API operation. When creating a waiter, you can provide the API operation parameters associated with the corresponding operation. Waiters can be accessed using the getWaiter($waiterName, $operationParameters) method of a client object. This client supports the following waiters:

Waiter name API Operation Delay Max Attempts
CredentialProviderDeleted GetCredentialProvider 2 60
CredentialProviderPoolDeleted GetCredentialProviderPool 2 60
CredentialProviderPoolReady GetCredentialProviderPool 2 60
CredentialProviderReady GetCredentialProvider 2 60

Operations

CreateCredentialProvider

$result = $client->createCredentialProvider([/* ... */]);
$promise = $client->createCredentialProviderAsync([/* ... */]);

Creates a CredentialProvider under a parent CredentialProviderPool. The provider type is determined by which member of providerConfigurationInput you set: oauthConfiguration creates an OAUTH provider, apiKeyConfiguration an API_KEY provider. Set exactly one. The operation always returns 202 Accepted.

Creation is asynchronous. The provider is returned with a transitional status and reaches READY or FAILED on its own; poll GetCredentialProvider to observe the transition.

Credentials this provider caches are encrypted under the parent pool's encryption configuration unless the provider overrides it. Within oauthConfiguration, set providerEncryptionConfiguration to a customer managed key to use that key in place of the pool's, or to inheritFromPool to follow the pool. A provider cannot select service-managed encryption on its own, the only way to use the service-owned key is to inherit it from a pool configured that way. An OAuth provider's response reports which applies in encryptionSource, as INHERITED or PROVIDER_OVERRIDE, alongside the resolved encryptionConfiguration.

Required permissions: in addition to permission for this operation, the service performs these actions on your behalf, each only when the request calls for it: secretsmanager:GetSecretValue and secretsmanager:DescribeSecret when the provider references a secret you own; secretsmanager:CreateSecret when you supply the credential value instead, so that the service stores it in a secret it creates; and kms:CreateGrant, kms:DescribeKey, kms:GenerateDataKeyWithoutPlaintext, kms:ReEncryptFrom, kms:ReEncryptTo, kms:Encrypt, and kms:Decrypt when a customer managed KMS key is in use.

Parameter Syntax

$result = $client->createCredentialProvider([
    'clientToken' => '<string>',
    'credentialProviderPoolIdentifier' => '<string>', // REQUIRED
    'name' => '<string>', // REQUIRED
    'providerConfigurationInput' => [ // REQUIRED
        'apiKeyConfiguration' => [
            'apiKeySecretInput' => [
                'apiKey' => '<string>',
                'apiKeySecretReference' => [
                    'jsonKey' => '<string>', // REQUIRED
                    'secretId' => '<string>', // REQUIRED
                ],
            ],
        ],
        'oauthConfiguration' => [
            'allowedGrantTypes' => ['<string>', ...],
            'allowedSessionBindingUrls' => ['<string>', ...],
            'providerEncryptionConfiguration' => [
                'customerManaged' => [
                    'kmsKeyIdentifier' => '<string>', // REQUIRED
                ],
                'inheritFromPool' => [
                ],
            ],
            'vendorConfigurationInput' => [
                'atlassianConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>', // REQUIRED
                        'clientSecret' => [
                            'clientSecret' => '<string>',
                            'clientSecretReference' => [
                                'jsonKey' => '<string>', // REQUIRED
                                'secretId' => '<string>', // REQUIRED
                            ],
                        ],
                    ],
                ],
                'cognitoConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>', // REQUIRED
                        'clientSecret' => [
                            'clientSecret' => '<string>',
                            'clientSecretReference' => [
                                'jsonKey' => '<string>', // REQUIRED
                                'secretId' => '<string>', // REQUIRED
                            ],
                        ],
                    ],
                    'cognitoRegion' => '<string>',
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [ // REQUIRED
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M', // REQUIRED
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>', // REQUIRED
                                'clientSecret' => [
                                    'clientSecret' => '<string>',
                                    'clientSecretReference' => [
                                        'jsonKey' => '<string>', // REQUIRED
                                        'secretId' => '<string>', // REQUIRED
                                    ],
                                ],
                            ],
                        ],
                    ],
                    'userPoolId' => '<string>', // REQUIRED
                ],
                'customConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>', // REQUIRED
                        'clientSecret' => [
                            'clientSecret' => '<string>',
                            'clientSecretReference' => [
                                'jsonKey' => '<string>', // REQUIRED
                                'secretId' => '<string>', // REQUIRED
                            ],
                        ],
                    ],
                    'oauthDiscovery' => [ // REQUIRED
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>', // REQUIRED
                            'tokenEndpoint' => '<string>', // REQUIRED
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [ // REQUIRED
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M', // REQUIRED
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>', // REQUIRED
                                'clientSecret' => [
                                    'clientSecret' => '<string>',
                                    'clientSecretReference' => [
                                        'jsonKey' => '<string>', // REQUIRED
                                        'secretId' => '<string>', // REQUIRED
                                    ],
                                ],
                            ],
                        ],
                    ],
                ],
                'githubConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>', // REQUIRED
                        'clientSecret' => [
                            'clientSecret' => '<string>',
                            'clientSecretReference' => [
                                'jsonKey' => '<string>', // REQUIRED
                                'secretId' => '<string>', // REQUIRED
                            ],
                        ],
                    ],
                ],
                'googleConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>', // REQUIRED
                        'clientSecret' => [
                            'clientSecret' => '<string>',
                            'clientSecretReference' => [
                                'jsonKey' => '<string>', // REQUIRED
                                'secretId' => '<string>', // REQUIRED
                            ],
                        ],
                    ],
                ],
                'linkedinConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>', // REQUIRED
                        'clientSecret' => [
                            'clientSecret' => '<string>',
                            'clientSecretReference' => [
                                'jsonKey' => '<string>', // REQUIRED
                                'secretId' => '<string>', // REQUIRED
                            ],
                        ],
                    ],
                ],
                'microsoftConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>', // REQUIRED
                        'clientSecret' => [
                            'clientSecret' => '<string>',
                            'clientSecretReference' => [
                                'jsonKey' => '<string>', // REQUIRED
                                'secretId' => '<string>', // REQUIRED
                            ],
                        ],
                    ],
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [ // REQUIRED
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M', // REQUIRED
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>', // REQUIRED
                                'clientSecret' => [
                                    'clientSecret' => '<string>',
                                    'clientSecretReference' => [
                                        'jsonKey' => '<string>', // REQUIRED
                                        'secretId' => '<string>', // REQUIRED
                                    ],
                                ],
                            ],
                        ],
                    ],
                    'tenantId' => '<string>',
                ],
                'oktaConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>', // REQUIRED
                        'clientSecret' => [
                            'clientSecret' => '<string>',
                            'clientSecretReference' => [
                                'jsonKey' => '<string>', // REQUIRED
                                'secretId' => '<string>', // REQUIRED
                            ],
                        ],
                    ],
                    'oktaDomain' => '<string>', // REQUIRED
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [ // REQUIRED
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M', // REQUIRED
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>', // REQUIRED
                                'clientSecret' => [
                                    'clientSecret' => '<string>',
                                    'clientSecretReference' => [
                                        'jsonKey' => '<string>', // REQUIRED
                                        'secretId' => '<string>', // REQUIRED
                                    ],
                                ],
                            ],
                        ],
                    ],
                ],
                'salesforceConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>', // REQUIRED
                        'clientSecret' => [
                            'clientSecret' => '<string>',
                            'clientSecretReference' => [
                                'jsonKey' => '<string>', // REQUIRED
                                'secretId' => '<string>', // REQUIRED
                            ],
                        ],
                    ],
                    'instanceUrl' => '<string>', // REQUIRED
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [ // REQUIRED
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M', // REQUIRED
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>', // REQUIRED
                                'clientSecret' => [
                                    'clientSecret' => '<string>',
                                    'clientSecretReference' => [
                                        'jsonKey' => '<string>', // REQUIRED
                                        'secretId' => '<string>', // REQUIRED
                                    ],
                                ],
                            ],
                        ],
                    ],
                ],
                'slackConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>', // REQUIRED
                        'clientSecret' => [
                            'clientSecret' => '<string>',
                            'clientSecretReference' => [
                                'jsonKey' => '<string>', // REQUIRED
                                'secretId' => '<string>', // REQUIRED
                            ],
                        ],
                    ],
                ],
            ],
        ],
    ],
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
clientToken
Type: string

SDK-populated idempotency token for safe retries.

credentialProviderPoolIdentifier
Required: Yes
Type: string

Identifies a credential provider pool. Accepts either the pool's ARN or its service-generated ID; both refer to the same pool.

name
Required: Yes
Type: string

The name for the credential provider. Must be unique among the providers that currently exist in the same pool. You can change it later with UpdateCredentialProvider.

providerConfigurationInput
Required: Yes
Type: CredentialProviderConfigurationInput structure

Type-specific input configuration. Exactly one member must be set.

tags
Type: Associative array of custom strings keys (TagKey) to strings

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.

Result Syntax

[
    'createdAt' => <DateTime>,
    'credentialProviderArn' => '<string>',
    'credentialProviderId' => '<string>',
    'credentialProviderPoolId' => '<string>',
    'name' => '<string>',
    'providerConfiguration' => [
        'apiKeyConfiguration' => [
            'apiKeySecretOutput' => [
                'apiKeySecretArn' => '<string>',
                'apiKeySecretJsonKey' => '<string>',
                'apiKeySecretSource' => 'MANAGED|EXTERNAL',
            ],
        ],
        'oauthConfiguration' => [
            'allowedGrantTypes' => ['<string>', ...],
            'allowedSessionBindingUrls' => ['<string>', ...],
            'callbackUrls' => ['<string>', ...],
            'encryptionConfiguration' => [
                'customerManaged' => [
                    'kmsKeyIdentifier' => '<string>',
                ],
                'serviceManaged' => [
                ],
            ],
            'encryptionSource' => 'INHERITED|PROVIDER_OVERRIDE',
            'idcInstanceArn' => '<string>',
            'identityCenterApplicationArn' => '<string>',
            'vendorConfigurationOutput' => [
                'atlassianConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                ],
                'cognitoConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M',
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>',
                                'clientSecretArn' => '<string>',
                                'clientSecretJsonKey' => '<string>',
                                'clientSecretSource' => 'MANAGED|EXTERNAL',
                            ],
                        ],
                    ],
                ],
                'customConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M',
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>',
                                'clientSecretArn' => '<string>',
                                'clientSecretJsonKey' => '<string>',
                                'clientSecretSource' => 'MANAGED|EXTERNAL',
                            ],
                        ],
                    ],
                ],
                'githubConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                ],
                'googleConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                ],
                'linkedinConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                ],
                'microsoftConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M',
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>',
                                'clientSecretArn' => '<string>',
                                'clientSecretJsonKey' => '<string>',
                                'clientSecretSource' => 'MANAGED|EXTERNAL',
                            ],
                        ],
                    ],
                ],
                'oktaConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M',
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>',
                                'clientSecretArn' => '<string>',
                                'clientSecretJsonKey' => '<string>',
                                'clientSecretSource' => 'MANAGED|EXTERNAL',
                            ],
                        ],
                    ],
                ],
                'salesforceConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M',
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>',
                                'clientSecretArn' => '<string>',
                                'clientSecretJsonKey' => '<string>',
                                'clientSecretSource' => 'MANAGED|EXTERNAL',
                            ],
                        ],
                    ],
                ],
                'slackConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                ],
            ],
        ],
    ],
    'providerType' => 'OAUTH|API_KEY',
    'status' => 'CREATING|UPDATING|DELETING|READY|FAILED',
    'statusReason' => '<string>',
    'tags' => ['<string>', ...],
    'updatedAt' => <DateTime>,
]

Result Details

Members
createdAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the credential provider was created.

credentialProviderArn
Required: Yes
Type: string

Amazon Resource Name of a credential provider. Service-generated and stable for the life of the provider. The ARN embeds the parent pool, so it identifies the provider on its own without a separate pool identifier. Use it in IAM policies and anywhere an operation accepts a credential provider identifier.

credentialProviderId
Required: Yes
Type: string

Service-generated identifier of a credential provider. Opaque and stable for the life of the provider, and unique within its parent pool. Accepted anywhere an operation takes a provider identifier, in place of the provider's ARN.

credentialProviderPoolId
Required: Yes
Type: 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
Required: Yes
Type: string

The name of a credential provider. Must be unique among the providers that currently exist in the same pool, and can be changed after creation with UpdateCredentialProvider. A deleted provider's name becomes available for reuse.

providerConfiguration

Type-specific resolved configuration with redacted secrets.

providerType
Required: Yes
Type: string

The kind of credential a provider obtains and the configuration it requires. Fixed when the provider is created and cannot be changed by a later update. New values may be added over time.

status
Required: Yes
Type: string

Lifecycle status of a credential provider. Create, update, and delete are asynchronous: the operation returns immediately with a transitional status, and the provider reaches READY or FAILED on its own. Poll GetCredentialProvider to observe the transition. New values may be added over time, so treat an unrecognized value as "still settling" rather than an error.

statusReason
Type: string

Explains why a resource is in a non-terminal status (e.g., FAILED, DELETING).

tags
Type: Associative array of custom strings keys (TagKey) to strings

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.

updatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the credential provider was last modified. Equal to createdAt until the first successful update.

Errors

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.

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.

ResourceNotFoundException:

The requested resource does not exist, or the caller is not permitted to know that it exists. A resource that was deleted, or that is still being created, can also be reported this way.

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.

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.

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).

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.

CreateCredentialProviderPool

$result = $client->createCredentialProviderPool([/* ... */]);
$promise = $client->createCredentialProviderPoolAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->createCredentialProviderPool([
    'clientToken' => '<string>',
    'encryptionConfiguration' => [
        'customerManaged' => [
            'kmsKeyIdentifier' => '<string>', // REQUIRED
        ],
        'serviceManaged' => [
        ],
    ],
    'identityCenterConfiguration' => [
        'idcInstanceArn' => '<string>', // REQUIRED
    ],
    'name' => '<string>', // REQUIRED
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
clientToken
Type: string

SDK auto-populates; enables safe retries.

encryptionConfiguration
Type: EncryptionConfiguration structure

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.

identityCenterConfiguration
Type: IdentityCenterConfiguration structure

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.

name
Required: Yes
Type: string

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.

tags
Type: Associative array of custom strings keys (TagKey) to strings

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.

Result Syntax

[
    'createdAt' => <DateTime>,
    'credentialProviderPoolArn' => '<string>',
    'credentialProviderPoolId' => '<string>',
    'encryptionConfiguration' => [
        'customerManaged' => [
            'kmsKeyIdentifier' => '<string>',
        ],
        'serviceManaged' => [
        ],
    ],
    'identityCenterApplicationArn' => '<string>',
    'identityCenterConfiguration' => [
        'idcInstanceArn' => '<string>',
    ],
    'name' => '<string>',
    'status' => 'CREATING|UPDATING|DELETING|READY|FAILED',
    'updatedAt' => <DateTime>,
]

Result Details

Members
createdAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the pool was created.

credentialProviderPoolArn
Required: Yes
Type: 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
Required: Yes
Type: string

Service-generated identifier of a credential provider pool. Opaque and stable for the life of the pool.

encryptionConfiguration
Type: EncryptionConfiguration structure

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.

identityCenterApplicationArn
Type: 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.

identityCenterConfiguration
Type: IdentityCenterConfiguration structure

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.

name
Required: Yes
Type: 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
Required: Yes
Type: string

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.

updatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the pool was last modified. Equal to createdAt until the first successful update.

Errors

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.

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.

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.

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.

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).

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.

DeleteCredentialProvider

$result = $client->deleteCredentialProvider([/* ... */]);
$promise = $client->deleteCredentialProviderAsync([/* ... */]);

Accepts an asynchronous request to delete a CredentialProvider of any provider type.

The operation is idempotent. Poll GetCredentialProvider until it returns a resource-not-found error to observe that deletion has finished.

Required permissions: in addition to permission for this operation, the service performs secretsmanager:DeleteSecret on your behalf, but only when the provider's credential is held in a secret the service created. A provider that references a secret you own leaves that secret untouched.

Parameter Syntax

$result = $client->deleteCredentialProvider([
    'credentialProviderIdentifier' => '<string>', // REQUIRED
    'credentialProviderPoolIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
credentialProviderIdentifier
Required: Yes
Type: string

Identifies a credential provider. Accepts either the provider's ARN or its service-generated ID; both refer to the same provider.

credentialProviderPoolIdentifier
Required: Yes
Type: string

Identifies a credential provider pool. Accepts either the pool's ARN or its service-generated ID; both refer to the same pool.

Result Syntax

[
    'credentialProviderArn' => '<string>',
    'credentialProviderId' => '<string>',
    'credentialProviderPoolId' => '<string>',
    'providerType' => 'OAUTH|API_KEY',
    'status' => 'CREATING|UPDATING|DELETING|READY|FAILED',
]

Result Details

Members
credentialProviderArn
Required: Yes
Type: string

Amazon Resource Name of a credential provider. Service-generated and stable for the life of the provider. The ARN embeds the parent pool, so it identifies the provider on its own without a separate pool identifier. Use it in IAM policies and anywhere an operation accepts a credential provider identifier.

credentialProviderId
Required: Yes
Type: string

Service-generated identifier of a credential provider. Opaque and stable for the life of the provider, and unique within its parent pool. Accepted anywhere an operation takes a provider identifier, in place of the provider's ARN.

credentialProviderPoolId
Required: Yes
Type: 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.

providerType
Required: Yes
Type: string

The kind of credential a provider obtains and the configuration it requires. Fixed when the provider is created and cannot be changed by a later update. New values may be added over time.

status
Required: Yes
Type: string

The provider transitions to DELETING while asynchronous cleanup completes.

Errors

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.

ResourceNotFoundException:

The requested resource does not exist, or the caller is not permitted to know that it exists. A resource that was deleted, or that is still being created, can also be reported this way.

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.

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.

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).

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.

DeleteCredentialProviderPool

$result = $client->deleteCredentialProviderPool([/* ... */]);
$promise = $client->deleteCredentialProviderPoolAsync([/* ... */]);

Deletes a CredentialProviderPool. Deletion is asynchronous; the pool transitions to DELETING.

The operation is idempotent. Poll GetCredentialProviderPool until it returns a resource-not-found error to observe that deletion has finished.

Required permissions: in addition to permission for this operation, the service performs sso:DeleteApplication on your behalf, but only when the pool is associated with an IAM Identity Center instance.

Parameter Syntax

$result = $client->deleteCredentialProviderPool([
    'credentialProviderPoolIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
credentialProviderPoolIdentifier
Required: Yes
Type: string

Identifies a credential provider pool. Accepts either the pool's ARN or its service-generated ID; both refer to the same pool.

Result Syntax

[
    'credentialProviderPoolArn' => '<string>',
    'credentialProviderPoolId' => '<string>',
    'status' => 'CREATING|UPDATING|DELETING|READY|FAILED',
]

Result Details

Members
credentialProviderPoolArn
Required: Yes
Type: 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
Required: Yes
Type: 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.

status
Required: Yes
Type: string

Delete is asynchronous; the pool transitions to DELETING.

Errors

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.

ResourceNotFoundException:

The requested resource does not exist, or the caller is not permitted to know that it exists. A resource that was deleted, or that is still being created, can also be reported this way.

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.

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.

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).

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.

GetCredentialProvider

$result = $client->getCredentialProvider([/* ... */]);
$promise = $client->getCredentialProviderAsync([/* ... */]);

Retrieves a CredentialProvider of any provider type. Credential material is never returned: the response reports the Amazon Resource Name of the secret holding each credential, not its value. Nor does the response include the provider's tags; call ListTagsForResource for those.

This is also the operation to poll while an asynchronous create, update, or delete settles: status reports the transition. Once a delete finishes the provider no longer exists, so this operation returns ResourceNotFoundException rather than a deleted status.

Parameter Syntax

$result = $client->getCredentialProvider([
    'credentialProviderIdentifier' => '<string>', // REQUIRED
    'credentialProviderPoolIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
credentialProviderIdentifier
Required: Yes
Type: string

Identifies a credential provider. Accepts either the provider's ARN or its service-generated ID; both refer to the same provider.

credentialProviderPoolIdentifier
Required: Yes
Type: string

Identifies a credential provider pool. Accepts either the pool's ARN or its service-generated ID; both refer to the same pool.

Result Syntax

[
    'createdAt' => <DateTime>,
    'credentialProviderArn' => '<string>',
    'credentialProviderId' => '<string>',
    'credentialProviderPoolId' => '<string>',
    'name' => '<string>',
    'providerConfiguration' => [
        'apiKeyConfiguration' => [
            'apiKeySecretOutput' => [
                'apiKeySecretArn' => '<string>',
                'apiKeySecretJsonKey' => '<string>',
                'apiKeySecretSource' => 'MANAGED|EXTERNAL',
            ],
        ],
        'oauthConfiguration' => [
            'allowedGrantTypes' => ['<string>', ...],
            'allowedSessionBindingUrls' => ['<string>', ...],
            'callbackUrls' => ['<string>', ...],
            'encryptionConfiguration' => [
                'customerManaged' => [
                    'kmsKeyIdentifier' => '<string>',
                ],
                'serviceManaged' => [
                ],
            ],
            'encryptionSource' => 'INHERITED|PROVIDER_OVERRIDE',
            'idcInstanceArn' => '<string>',
            'identityCenterApplicationArn' => '<string>',
            'vendorConfigurationOutput' => [
                'atlassianConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                ],
                'cognitoConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M',
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>',
                                'clientSecretArn' => '<string>',
                                'clientSecretJsonKey' => '<string>',
                                'clientSecretSource' => 'MANAGED|EXTERNAL',
                            ],
                        ],
                    ],
                ],
                'customConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M',
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>',
                                'clientSecretArn' => '<string>',
                                'clientSecretJsonKey' => '<string>',
                                'clientSecretSource' => 'MANAGED|EXTERNAL',
                            ],
                        ],
                    ],
                ],
                'githubConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                ],
                'googleConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                ],
                'linkedinConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                ],
                'microsoftConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M',
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>',
                                'clientSecretArn' => '<string>',
                                'clientSecretJsonKey' => '<string>',
                                'clientSecretSource' => 'MANAGED|EXTERNAL',
                            ],
                        ],
                    ],
                ],
                'oktaConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M',
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>',
                                'clientSecretArn' => '<string>',
                                'clientSecretJsonKey' => '<string>',
                                'clientSecretSource' => 'MANAGED|EXTERNAL',
                            ],
                        ],
                    ],
                ],
                'salesforceConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M',
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>',
                                'clientSecretArn' => '<string>',
                                'clientSecretJsonKey' => '<string>',
                                'clientSecretSource' => 'MANAGED|EXTERNAL',
                            ],
                        ],
                    ],
                ],
                'slackConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                ],
            ],
        ],
    ],
    'providerType' => 'OAUTH|API_KEY',
    'status' => 'CREATING|UPDATING|DELETING|READY|FAILED',
    'statusReason' => '<string>',
    'updatedAt' => <DateTime>,
]

Result Details

Members
createdAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the credential provider was created.

credentialProviderArn
Required: Yes
Type: string

Amazon Resource Name of a credential provider. Service-generated and stable for the life of the provider. The ARN embeds the parent pool, so it identifies the provider on its own without a separate pool identifier. Use it in IAM policies and anywhere an operation accepts a credential provider identifier.

credentialProviderId
Required: Yes
Type: string

Service-generated identifier of a credential provider. Opaque and stable for the life of the provider, and unique within its parent pool. Accepted anywhere an operation takes a provider identifier, in place of the provider's ARN.

credentialProviderPoolId
Required: Yes
Type: 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
Required: Yes
Type: string

The name of a credential provider. Must be unique among the providers that currently exist in the same pool, and can be changed after creation with UpdateCredentialProvider. A deleted provider's name becomes available for reuse.

providerConfiguration

Type-specific configuration. The member that is set matches providerType.

providerType
Required: Yes
Type: string

The kind of credential a provider obtains and the configuration it requires. Fixed when the provider is created and cannot be changed by a later update. New values may be added over time.

status
Required: Yes
Type: string

Lifecycle status of a credential provider. Create, update, and delete are asynchronous: the operation returns immediately with a transitional status, and the provider reaches READY or FAILED on its own. Poll GetCredentialProvider to observe the transition. New values may be added over time, so treat an unrecognized value as "still settling" rather than an error.

statusReason
Type: string

Explains why a resource is in a non-terminal status (e.g., FAILED, DELETING).

updatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the credential provider was last modified. Equal to createdAt until the first successful update.

Errors

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.

ResourceNotFoundException:

The requested resource does not exist, or the caller is not permitted to know that it exists. A resource that was deleted, or that is still being created, can also be reported this way.

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.

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.

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.

GetCredentialProviderPool

$result = $client->getCredentialProviderPool([/* ... */]);
$promise = $client->getCredentialProviderPoolAsync([/* ... */]);

Retrieves a CredentialProviderPool by identifier. The response does not include the pool's tags; call ListTagsForResource for those.

This is also the operation to poll while an asynchronous create, update, or delete settles: status reports the transition. Once a delete finishes the pool no longer exists, so this operation returns ResourceNotFoundException rather than a deleted status.

Parameter Syntax

$result = $client->getCredentialProviderPool([
    'credentialProviderPoolIdentifier' => '<string>', // REQUIRED
]);

Parameter Details

Members
credentialProviderPoolIdentifier
Required: Yes
Type: string

Identifies a credential provider pool. Accepts either the pool's ARN or its service-generated ID; both refer to the same pool.

Result Syntax

[
    'createdAt' => <DateTime>,
    'credentialProviderPoolArn' => '<string>',
    'credentialProviderPoolId' => '<string>',
    'encryptionConfiguration' => [
        'customerManaged' => [
            'kmsKeyIdentifier' => '<string>',
        ],
        'serviceManaged' => [
        ],
    ],
    'identityCenterApplicationArn' => '<string>',
    'identityCenterConfiguration' => [
        'idcInstanceArn' => '<string>',
    ],
    'name' => '<string>',
    'status' => 'CREATING|UPDATING|DELETING|READY|FAILED',
    'statusReason' => '<string>',
    'updatedAt' => <DateTime>,
]

Result Details

Members
createdAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the pool was created.

credentialProviderPoolArn
Required: Yes
Type: 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
Required: Yes
Type: 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.

encryptionConfiguration
Type: EncryptionConfiguration structure

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.

identityCenterApplicationArn
Type: 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.

identityCenterConfiguration
Type: IdentityCenterConfiguration structure

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.

name
Required: Yes
Type: 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
Required: Yes
Type: string

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.

statusReason
Type: string

Present when status = FAILED.

updatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the pool was last modified. Equal to createdAt until the first successful update.

Errors

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.

ResourceNotFoundException:

The requested resource does not exist, or the caller is not permitted to know that it exists. A resource that was deleted, or that is still being created, can also be reported this way.

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.

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.

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.

ListCredentialProviderPools

$result = $client->listCredentialProviderPools([/* ... */]);
$promise = $client->listCredentialProviderPoolsAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->listCredentialProviderPools([
    'maxResults' => <integer>,
    'nameContains' => '<string>',
    'nextToken' => '<string>',
]);

Parameter Details

Members
maxResults
Type: int

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.

nameContains
Type: string

Return only pools whose name contains this substring. Matching is case-sensitive. Omit to return pools of any name.

nextToken
Type: string

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.

Result Syntax

[
    'items' => [
        [
            'createdAt' => <DateTime>,
            'credentialProviderPoolArn' => '<string>',
            'credentialProviderPoolId' => '<string>',
            'name' => '<string>',
            'status' => 'CREATING|UPDATING|DELETING|READY|FAILED',
            'updatedAt' => <DateTime>,
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
items
Required: Yes
Type: Array of CredentialProviderPoolSummary structures

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.

nextToken
Type: string

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.

Errors

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.

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.

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.

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.

ListCredentialProviders

$result = $client->listCredentialProviders([/* ... */]);
$promise = $client->listCredentialProvidersAsync([/* ... */]);

Lists the CredentialProviders in a pool, optionally filtered by name substring and provider type. Each entry is a summary that omits the provider's type-specific configuration; call GetCredentialProvider for a single provider's full detail.

Results are returned in no particular order, and the order may change between calls. Do not rely on it.

Parameter Syntax

$result = $client->listCredentialProviders([
    'credentialProviderPoolIdentifier' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nameContains' => '<string>',
    'nextToken' => '<string>',
    'providerTypes' => ['<string>', ...],
]);

Parameter Details

Members
credentialProviderPoolIdentifier
Required: Yes
Type: string

Parent pool identifier. Accepts an ARN or service-generated ID.

maxResults
Type: int

The maximum number of providers 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.

nameContains
Type: string

Return only providers whose name contains this substring. Matching is case-sensitive. Omit to return providers of any name.

nextToken
Type: string

Continues a previous ListCredentialProviders 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.

providerTypes
Type: Array of strings

Provider types to include. When omitted, all provider types are returned.

Result Syntax

[
    'items' => [
        [
            'createdAt' => <DateTime>,
            'credentialProviderArn' => '<string>',
            'credentialProviderId' => '<string>',
            'credentialProviderPoolId' => '<string>',
            'name' => '<string>',
            'providerType' => 'OAUTH|API_KEY',
            'status' => 'CREATING|UPDATING|DELETING|READY|FAILED',
            'statusReason' => '<string>',
            'updatedAt' => <DateTime>,
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
items
Required: Yes
Type: Array of CredentialProviderSummary structures

A page of credential providers, each a summary that omits the provider's type-specific configuration. Empty when the pool contains no providers, or none that match the requested filters.

nextToken
Type: string

Present when more results are available than this response contains; absent on the last page. Call ListCredentialProviders again with this value to get the next page, and repeat until a response comes back without a nextToken.

Errors

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.

ResourceNotFoundException:

The requested resource does not exist, or the caller is not permitted to know that it exists. A resource that was deleted, or that is still being created, can also be reported this way.

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.

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.

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.

ListTagsForResource

$result = $client->listTagsForResource([/* ... */]);
$promise = $client->listTagsForResourceAsync([/* ... */]);

Lists the tags attached to a credential provider pool or a credential provider. Returns an empty map when the resource has no tags.

Parameter Syntax

$result = $client->listTagsForResource([
    'resourceArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

Amazon Resource Name of a taggable resource, either a credential provider pool or a credential provider within a pool.

Result Syntax

[
    'tags' => ['<string>', ...],
]

Result Details

Members
tags
Required: Yes
Type: Associative array of custom strings keys (TagKey) to strings

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.

Errors

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.

ResourceNotFoundException:

The requested resource does not exist, or the caller is not permitted to know that it exists. A resource that was deleted, or that is still being created, can also be reported this way.

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.

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.

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.

TagResource

$result = $client->tagResource([/* ... */]);
$promise = $client->tagResourceAsync([/* ... */]);

Adds or replaces tags on a credential provider pool or a credential provider. A key that is already present on the resource has its value overwritten; keys that are not named are left alone. Takes effect immediately.

The operation is idempotent.

Parameter Syntax

$result = $client->tagResource([
    'resourceArn' => '<string>', // REQUIRED
    'tags' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

Amazon Resource Name of a taggable resource, either a credential provider pool or a credential provider within a pool.

tags
Required: Yes
Type: Associative array of custom strings keys (TagKey) to strings

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.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

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.

ResourceNotFoundException:

The requested resource does not exist, or the caller is not permitted to know that it exists. A resource that was deleted, or that is still being created, can also be reported this way.

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.

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.

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.

UntagResource

$result = $client->untagResource([/* ... */]);
$promise = $client->untagResourceAsync([/* ... */]);

Removes tags from a credential provider pool or a credential provider. Keys that are not present on the resource are ignored, so removing the same keys twice succeeds. Takes effect immediately.

The operation is idempotent.

Parameter Syntax

$result = $client->untagResource([
    'resourceArn' => '<string>', // REQUIRED
    'tagKeys' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

Amazon Resource Name of a taggable resource, either a credential provider pool or a credential provider within a pool.

tagKeys
Required: Yes
Type: Array of strings

A list of tag keys. Keys that are not present on the resource are ignored.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

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.

ResourceNotFoundException:

The requested resource does not exist, or the caller is not permitted to know that it exists. A resource that was deleted, or that is still being created, can also be reported this way.

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.

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.

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.

UpdateCredentialProvider

$result = $client->updateCredentialProvider([/* ... */]);
$promise = $client->updateCredentialProviderAsync([/* ... */]);

Updates a CredentialProvider asynchronously. Supply only the fields to change; omitted fields are left unchanged (partial update). The configuration member you set must match the provider's existing type — an update cannot change the provider type.

The operation is idempotent. It returns the provider with a transitional status; poll GetCredentialProvider to observe the transition.

Required permissions: in addition to permission for this operation, the service performs these actions on your behalf, each only when the request calls for it: secretsmanager:GetSecretValue and secretsmanager:DescribeSecret when the provider references a secret you own; secretsmanager:CreateSecret and secretsmanager:PutSecretValue when you supply the credential value instead, so that the service stores it in a secret it creates or updates; secretsmanager:DeleteSecret when an update leaves a service-created secret no longer needed; and kms:CreateGrant, kms:DescribeKey, kms:GenerateDataKeyWithoutPlaintext, kms:ReEncryptFrom, kms:ReEncryptTo, kms:Encrypt, and kms:Decrypt when a customer managed KMS key is in use.

Parameter Syntax

$result = $client->updateCredentialProvider([
    'credentialProviderIdentifier' => '<string>', // REQUIRED
    'credentialProviderPoolIdentifier' => '<string>', // REQUIRED
    'name' => '<string>',
    'providerConfigurationInput' => [
        'apiKeyConfiguration' => [
            'apiKeySecretInput' => [
                'apiKey' => '<string>',
                'apiKeySecretReference' => [
                    'jsonKey' => '<string>', // REQUIRED
                    'secretId' => '<string>', // REQUIRED
                ],
            ],
        ],
        'oauthConfiguration' => [
            'allowedGrantTypes' => ['<string>', ...],
            'allowedSessionBindingUrls' => ['<string>', ...],
            'providerEncryptionConfiguration' => [
                'customerManaged' => [
                    'kmsKeyIdentifier' => '<string>', // REQUIRED
                ],
                'inheritFromPool' => [
                ],
            ],
            'vendorConfigurationInput' => [
                'atlassianConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>', // REQUIRED
                        'clientSecret' => [
                            'clientSecret' => '<string>',
                            'clientSecretReference' => [
                                'jsonKey' => '<string>', // REQUIRED
                                'secretId' => '<string>', // REQUIRED
                            ],
                        ],
                    ],
                ],
                'cognitoConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>', // REQUIRED
                        'clientSecret' => [
                            'clientSecret' => '<string>',
                            'clientSecretReference' => [
                                'jsonKey' => '<string>', // REQUIRED
                                'secretId' => '<string>', // REQUIRED
                            ],
                        ],
                    ],
                    'cognitoRegion' => '<string>',
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [ // REQUIRED
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M', // REQUIRED
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>', // REQUIRED
                                'clientSecret' => [
                                    'clientSecret' => '<string>',
                                    'clientSecretReference' => [
                                        'jsonKey' => '<string>', // REQUIRED
                                        'secretId' => '<string>', // REQUIRED
                                    ],
                                ],
                            ],
                        ],
                    ],
                    'userPoolId' => '<string>', // REQUIRED
                ],
                'customConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>', // REQUIRED
                        'clientSecret' => [
                            'clientSecret' => '<string>',
                            'clientSecretReference' => [
                                'jsonKey' => '<string>', // REQUIRED
                                'secretId' => '<string>', // REQUIRED
                            ],
                        ],
                    ],
                    'oauthDiscovery' => [ // REQUIRED
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>', // REQUIRED
                            'tokenEndpoint' => '<string>', // REQUIRED
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [ // REQUIRED
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M', // REQUIRED
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>', // REQUIRED
                                'clientSecret' => [
                                    'clientSecret' => '<string>',
                                    'clientSecretReference' => [
                                        'jsonKey' => '<string>', // REQUIRED
                                        'secretId' => '<string>', // REQUIRED
                                    ],
                                ],
                            ],
                        ],
                    ],
                ],
                'githubConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>', // REQUIRED
                        'clientSecret' => [
                            'clientSecret' => '<string>',
                            'clientSecretReference' => [
                                'jsonKey' => '<string>', // REQUIRED
                                'secretId' => '<string>', // REQUIRED
                            ],
                        ],
                    ],
                ],
                'googleConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>', // REQUIRED
                        'clientSecret' => [
                            'clientSecret' => '<string>',
                            'clientSecretReference' => [
                                'jsonKey' => '<string>', // REQUIRED
                                'secretId' => '<string>', // REQUIRED
                            ],
                        ],
                    ],
                ],
                'linkedinConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>', // REQUIRED
                        'clientSecret' => [
                            'clientSecret' => '<string>',
                            'clientSecretReference' => [
                                'jsonKey' => '<string>', // REQUIRED
                                'secretId' => '<string>', // REQUIRED
                            ],
                        ],
                    ],
                ],
                'microsoftConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>', // REQUIRED
                        'clientSecret' => [
                            'clientSecret' => '<string>',
                            'clientSecretReference' => [
                                'jsonKey' => '<string>', // REQUIRED
                                'secretId' => '<string>', // REQUIRED
                            ],
                        ],
                    ],
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [ // REQUIRED
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M', // REQUIRED
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>', // REQUIRED
                                'clientSecret' => [
                                    'clientSecret' => '<string>',
                                    'clientSecretReference' => [
                                        'jsonKey' => '<string>', // REQUIRED
                                        'secretId' => '<string>', // REQUIRED
                                    ],
                                ],
                            ],
                        ],
                    ],
                    'tenantId' => '<string>',
                ],
                'oktaConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>', // REQUIRED
                        'clientSecret' => [
                            'clientSecret' => '<string>',
                            'clientSecretReference' => [
                                'jsonKey' => '<string>', // REQUIRED
                                'secretId' => '<string>', // REQUIRED
                            ],
                        ],
                    ],
                    'oktaDomain' => '<string>', // REQUIRED
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [ // REQUIRED
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M', // REQUIRED
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>', // REQUIRED
                                'clientSecret' => [
                                    'clientSecret' => '<string>',
                                    'clientSecretReference' => [
                                        'jsonKey' => '<string>', // REQUIRED
                                        'secretId' => '<string>', // REQUIRED
                                    ],
                                ],
                            ],
                        ],
                    ],
                ],
                'salesforceConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>', // REQUIRED
                        'clientSecret' => [
                            'clientSecret' => '<string>',
                            'clientSecretReference' => [
                                'jsonKey' => '<string>', // REQUIRED
                                'secretId' => '<string>', // REQUIRED
                            ],
                        ],
                    ],
                    'instanceUrl' => '<string>', // REQUIRED
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [ // REQUIRED
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M', // REQUIRED
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>', // REQUIRED
                                'clientSecret' => [
                                    'clientSecret' => '<string>',
                                    'clientSecretReference' => [
                                        'jsonKey' => '<string>', // REQUIRED
                                        'secretId' => '<string>', // REQUIRED
                                    ],
                                ],
                            ],
                        ],
                    ],
                ],
                'slackConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>', // REQUIRED
                        'clientSecret' => [
                            'clientSecret' => '<string>',
                            'clientSecretReference' => [
                                'jsonKey' => '<string>', // REQUIRED
                                'secretId' => '<string>', // REQUIRED
                            ],
                        ],
                    ],
                ],
            ],
        ],
    ],
]);

Parameter Details

Members
credentialProviderIdentifier
Required: Yes
Type: string

Identifies a credential provider. Accepts either the provider's ARN or its service-generated ID; both refer to the same provider.

credentialProviderPoolIdentifier
Required: Yes
Type: string

Identifies a credential provider pool. Accepts either the pool's ARN or its service-generated ID; both refer to the same pool.

name
Type: string

Rename the provider. If provided, MUST be unique within the pool; omitting leaves the name unchanged.

providerConfigurationInput

Type-specific fields to update. Omit to change only the name; within that member, omit any field to leave it unchanged. The member must match the provider's existing type.

Result Syntax

[
    'createdAt' => <DateTime>,
    'credentialProviderArn' => '<string>',
    'credentialProviderId' => '<string>',
    'credentialProviderPoolId' => '<string>',
    'name' => '<string>',
    'providerConfiguration' => [
        'apiKeyConfiguration' => [
            'apiKeySecretOutput' => [
                'apiKeySecretArn' => '<string>',
                'apiKeySecretJsonKey' => '<string>',
                'apiKeySecretSource' => 'MANAGED|EXTERNAL',
            ],
        ],
        'oauthConfiguration' => [
            'allowedGrantTypes' => ['<string>', ...],
            'allowedSessionBindingUrls' => ['<string>', ...],
            'callbackUrls' => ['<string>', ...],
            'encryptionConfiguration' => [
                'customerManaged' => [
                    'kmsKeyIdentifier' => '<string>',
                ],
                'serviceManaged' => [
                ],
            ],
            'encryptionSource' => 'INHERITED|PROVIDER_OVERRIDE',
            'idcInstanceArn' => '<string>',
            'identityCenterApplicationArn' => '<string>',
            'vendorConfigurationOutput' => [
                'atlassianConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                ],
                'cognitoConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M',
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>',
                                'clientSecretArn' => '<string>',
                                'clientSecretJsonKey' => '<string>',
                                'clientSecretSource' => 'MANAGED|EXTERNAL',
                            ],
                        ],
                    ],
                ],
                'customConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M',
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>',
                                'clientSecretArn' => '<string>',
                                'clientSecretJsonKey' => '<string>',
                                'clientSecretSource' => 'MANAGED|EXTERNAL',
                            ],
                        ],
                    ],
                ],
                'githubConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                ],
                'googleConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                ],
                'linkedinConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                ],
                'microsoftConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M',
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>',
                                'clientSecretArn' => '<string>',
                                'clientSecretJsonKey' => '<string>',
                                'clientSecretSource' => 'MANAGED|EXTERNAL',
                            ],
                        ],
                    ],
                ],
                'oktaConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M',
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>',
                                'clientSecretArn' => '<string>',
                                'clientSecretJsonKey' => '<string>',
                                'clientSecretSource' => 'MANAGED|EXTERNAL',
                            ],
                        ],
                    ],
                ],
                'salesforceConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                    'onBehalfOfTokenExchangeConfiguration' => [
                        'subjectTokenSource' => [
                            'credentialProvider' => '<string>',
                            'credentialProviderSelf' => [
                            ],
                            'iamIdentityCenter' => [
                            ],
                        ],
                        'tokenExchangeActorConfiguration' => [
                            'actorTokenContent' => 'NONE|M2M',
                            'actorTokenScopes' => ['<string>', ...],
                        ],
                        'tokenExchangeRequesterConfiguration' => [
                            'noClient' => [
                            ],
                            'requesterClientAuthenticationConfiguration' => [
                                'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                                'clientId' => '<string>',
                                'clientSecretArn' => '<string>',
                                'clientSecretJsonKey' => '<string>',
                                'clientSecretSource' => 'MANAGED|EXTERNAL',
                            ],
                        ],
                    ],
                ],
                'slackConfiguration' => [
                    'clientAuthenticationConfiguration' => [
                        'clientAuthenticationMethod' => 'CLIENT_SECRET_BASIC|CLIENT_SECRET_POST|NONE',
                        'clientId' => '<string>',
                        'clientSecretArn' => '<string>',
                        'clientSecretJsonKey' => '<string>',
                        'clientSecretSource' => 'MANAGED|EXTERNAL',
                    ],
                    'oauthDiscovery' => [
                        'authorizationServerMetadata' => [
                            'authorizationEndpoint' => '<string>',
                            'issuer' => '<string>',
                            'tokenEndpoint' => '<string>',
                        ],
                        'discoveryUrl' => '<string>',
                    ],
                ],
            ],
        ],
    ],
    'providerType' => 'OAUTH|API_KEY',
    'status' => 'CREATING|UPDATING|DELETING|READY|FAILED',
    'statusReason' => '<string>',
    'updatedAt' => <DateTime>,
]

Result Details

Members
createdAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the credential provider was created.

credentialProviderArn
Required: Yes
Type: string

Amazon Resource Name of a credential provider. Service-generated and stable for the life of the provider. The ARN embeds the parent pool, so it identifies the provider on its own without a separate pool identifier. Use it in IAM policies and anywhere an operation accepts a credential provider identifier.

credentialProviderId
Required: Yes
Type: string

Service-generated identifier of a credential provider. Opaque and stable for the life of the provider, and unique within its parent pool. Accepted anywhere an operation takes a provider identifier, in place of the provider's ARN.

credentialProviderPoolId
Required: Yes
Type: 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
Required: Yes
Type: string

The name of a credential provider. Must be unique among the providers that currently exist in the same pool, and can be changed after creation with UpdateCredentialProvider. A deleted provider's name becomes available for reuse.

providerConfiguration

Type-specific output configuration. The member that is set matches the provider type.

providerType
Required: Yes
Type: string

The kind of credential a provider obtains and the configuration it requires. Fixed when the provider is created and cannot be changed by a later update. New values may be added over time.

status
Required: Yes
Type: string

Lifecycle status of a credential provider. Create, update, and delete are asynchronous: the operation returns immediately with a transitional status, and the provider reaches READY or FAILED on its own. Poll GetCredentialProvider to observe the transition. New values may be added over time, so treat an unrecognized value as "still settling" rather than an error.

statusReason
Type: string

Explains why a resource is in a non-terminal status (e.g., FAILED, DELETING).

updatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the credential provider was last modified. Equal to createdAt until the first successful update.

Errors

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.

ResourceNotFoundException:

The requested resource does not exist, or the caller is not permitted to know that it exists. A resource that was deleted, or that is still being created, can also be reported this way.

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.

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.

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).

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.

UpdateCredentialProviderPool

$result = $client->updateCredentialProviderPool([/* ... */]);
$promise = $client->updateCredentialProviderPoolAsync([/* ... */]);

Updates a CredentialProviderPool. Partial update, only provided fields are modified; omitted fields are left unchanged.

The update is applied asynchronously and the operation is idempotent. The operation returns the pool with a transitional status; poll GetCredentialProviderPool to observe the transition.

Required permissions: in addition to permission for this operation, the service performs these actions on your behalf, each only when the request calls for it: sso:CreateApplication, sso:PutApplicationAuthenticationMethod, sso:PutApplicationGrant, and sso:PutApplicationAssignmentConfiguration when the request associates an IAM Identity Center instance; sso:DeleteApplication when it disassociates one; and kms:CreateGrant, kms:DescribeKey, kms:GenerateDataKeyWithoutPlaintext, kms:ReEncryptFrom, kms:ReEncryptTo, kms:Encrypt, and kms:Decrypt when it sets or changes a customer managed KMS key, which re-encrypts the pool's stored credentials under that key.

Parameter Syntax

$result = $client->updateCredentialProviderPool([
    'credentialProviderPoolIdentifier' => '<string>', // REQUIRED
    'encryptionConfiguration' => [
        'customerManaged' => [
            'kmsKeyIdentifier' => '<string>', // REQUIRED
        ],
        'serviceManaged' => [
        ],
    ],
    'identityCenterUpdate' => [
        'associate' => [
            'idcInstanceArn' => '<string>', // REQUIRED
        ],
        'disassociate' => [
        ],
    ],
    'name' => '<string>',
]);

Parameter Details

Members
credentialProviderPoolIdentifier
Required: Yes
Type: string

Identifies a credential provider pool. Accepts either the pool's ARN or its service-generated ID; both refer to the same pool.

encryptionConfiguration
Type: EncryptionConfiguration structure

Changes how cached tokens are encrypted at rest for the providers in this pool. Use it to move between a customer managed key and a service-owned key, or to point at a different customer managed key. Omit to leave the current configuration unchanged. Providers that override the pool with a key of their own are unaffected.

identityCenterUpdate
Type: IdentityCenterUpdate structure

Identity Center update action. Omit to preserve existing binding.

name
Type: string

Rename the pool. If provided, MUST be unique within the account; omitting leaves the name unchanged.

Result Syntax

[
    'createdAt' => <DateTime>,
    'credentialProviderPoolArn' => '<string>',
    'credentialProviderPoolId' => '<string>',
    'encryptionConfiguration' => [
        'customerManaged' => [
            'kmsKeyIdentifier' => '<string>',
        ],
        'serviceManaged' => [
        ],
    ],
    'identityCenterApplicationArn' => '<string>',
    'identityCenterConfiguration' => [
        'idcInstanceArn' => '<string>',
    ],
    'name' => '<string>',
    'status' => 'CREATING|UPDATING|DELETING|READY|FAILED',
    'updatedAt' => <DateTime>,
]

Result Details

Members
createdAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the pool was created.

credentialProviderPoolArn
Required: Yes
Type: 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
Required: Yes
Type: 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.

encryptionConfiguration
Type: EncryptionConfiguration structure

How cached tokens are encrypted at rest. Set exactly one member: a customer-managed configuration must name a KMS key, and a service-managed configuration takes no parameters.

identityCenterApplicationArn
Type: 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.

identityCenterConfiguration
Type: IdentityCenterConfiguration structure

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.

name
Required: Yes
Type: 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
Required: Yes
Type: string

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.

updatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the pool was last modified. Equal to createdAt until the first successful update.

Errors

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.

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.

ResourceNotFoundException:

The requested resource does not exist, or the caller is not permitted to know that it exists. A resource that was deleted, or that is still being created, can also be reported this way.

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.

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.

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).

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.

Shapes

AccessDeniedException

Description

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.

Members
message
Required: Yes
Type: string
reason
Type: string

Identifies what denied the request. New values may be added over time, so treat an unrecognized value as a generic authorization failure and rely on message for detail.

ApiKeyCredentialProviderConfigurationInput

Description

API key credential provider input configuration. On create, apiKeySecretInput is required (enforced by the service); on update it is optional and omitting it leaves the stored secret unchanged.

Members
apiKeySecretInput
Type: ApiKeySecretInput structure

API key material: a raw managed key or an external secret reference.

ApiKeyCredentialProviderConfigurationOutput

Description

Redacted API key configuration.

Members
apiKeySecretOutput
Type: ApiKeySecretOutput structure

Secret pointer and source; never the API key value.

ApiKeySecretInput

Description

How the provider's API key is supplied. Set exactly one member: give the key value and let the service store it in a secret it owns, or point at an AWS Secrets Manager secret you already own. Either way, reads return only the ARN of the secret, never the key.

Members
apiKey
Type: string

The API key value. The service stores it in an AWS Secrets Manager secret that the service owns. Write-only: reads return only the ARN of the secret holding it.

apiKeySecretReference
Type: SecretReference structure

An AWS Secrets Manager secret you own that holds the API key. The service reads the key from your secret rather than storing a copy of its own.

ApiKeySecretOutput

Description

Where the provider's API key is stored. Reports the ARN of the AWS Secrets Manager secret holding it and whether that secret is service-owned or yours, never the key itself.

Members
apiKeySecretArn
Required: Yes
Type: string

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the API key. Returned instead of the key itself, so reads never expose the value.

apiKeySecretJsonKey
Type: string

The key read from the secret's JSON payload to obtain the API key. Present only when the secret is one you own and holds a JSON object.

apiKeySecretSource
Required: Yes
Type: string

Whether the secret holding the API key is one the service created and owns (MANAGED), or one you own in AWS Secrets Manager that the service reads (EXTERNAL).

AtlassianOAuthConfigurationInput

Description

Settings for a provider that obtains credentials from Atlassian. Atlassian's OAuth endpoints are known to the service, so only client credentials are required.

Members
clientAuthenticationConfiguration

The OAuth client credentials a provider uses to authenticate to its authorization server. Supply this when creating a provider; on update, omit it to leave the existing client unchanged. Any client secret given here is write-only and is never returned on reads.

AtlassianOAuthConfigurationOutput

Description

An Atlassian provider's stored configuration.

Members
clientAuthenticationConfiguration

The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.

oauthDiscovery
Type: OAuthDiscovery structure

How the authorization server's OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

AuthorizationServerMetadata

Description

An authorization server's OAuth endpoints, stated explicitly rather than discovered. Use this when the authorization server publishes no discovery document, or when you want to pin the endpoints instead of resolving them.

Members
authorizationEndpoint
Type: string

Where the end user is sent to grant consent. Required in practice for a provider using AUTHORIZATION_CODE, which has no other source for it; a provider that resolves its endpoints from discoveryUrl instead takes it from the discovery document. Optional so the grants that never redirect a browser need not supply one.

issuer
Required: Yes
Type: string

Identifier the authorization server uses for itself, as it appears in the tokens it issues.

tokenEndpoint
Required: Yes
Type: string

An HTTPS URL identifying or exposed by an authorization server, its issuer identifier, its authorization endpoint, or its token endpoint.

ClientAuthenticationConfigurationInput

Description

The OAuth client credentials a provider uses to authenticate to its authorization server. Supply this when creating a provider; on update, omit it to leave the existing client unchanged. Any client secret given here is write-only and is never returned on reads.

Members
clientAuthenticationMethod
Type: string

How the client authenticates to its authorization server. Optional: when omitted, the service defaults to CLIENT_SECRET_BASIC. CLIENT_SECRET_BASIC and CLIENT_SECRET_POST both require a clientSecret; NONE is a public client that sends no secret.

clientId
Required: Yes
Type: string

OAuth client identifier registered with the authorization server.

clientSecret
Type: ClientSecretInput structure

The client secret, supplied either as a value for the service to store or as a reference to a secret you own. Required when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST, and must be omitted when it is NONE.

ClientAuthenticationConfigurationOutput

Description

The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.

Members
clientAuthenticationMethod
Type: string

How a credential provider authenticates itself to its authorization server on token requests. The authorization server decides which methods it accepts, so choose the one it is configured for.

clientId
Type: string

OAuth client identifier registered with the authorization server.

clientSecretArn
Type: string

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret holding the client secret. Present when clientAuthenticationMethod is CLIENT_SECRET_BASIC or CLIENT_SECRET_POST; absent for a public client authenticating with NONE.

clientSecretJsonKey
Type: string

Key to read from the secret's JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.

clientSecretSource
Type: string

Whether the client secret is held in a secret the service owns or in one you own.

ClientSecretInput

Description

How the provider's OAuth client secret is supplied. Set exactly one member: give the secret value and let the service store it, or point at a Secrets Manager secret you already own. Either way, reads return only the ARN of the secret, never the value.

Members
clientSecret
Type: string

The client secret value. The service stores it in a Secrets Manager secret that it owns.

clientSecretReference
Type: SecretReference structure

A Secrets Manager secret you own that holds the client secret.

CognitoOAuthConfigurationInput

Description

Settings for a provider that obtains credentials from an Amazon Cognito user pool. The user pool determines the endpoints, so userPoolId is required.

Members
clientAuthenticationConfiguration

The OAuth client credentials a provider uses to authenticate to its authorization server. Supply this when creating a provider; on update, omit it to leave the existing client unchanged. Any client secret given here is write-only and is never returned on reads.

cognitoRegion
Type: string

Defaults to the call region when omitted.

onBehalfOfTokenExchangeConfiguration

Configures on-behalf-of token exchange (RFC 8693) for a credential provider, so the provider can trade a token identifying a user for a token scoped to another audience while preserving that user's identity. Supply this to enable the TOKEN_EXCHANGE grant; omit it on update to leave the existing exchange configuration unchanged.

userPoolId
Required: Yes
Type: string

Identifier of the Amazon Cognito user pool that issues the credentials.

CognitoOAuthConfigurationOutput

Description

An Amazon Cognito provider's stored configuration.

Members
clientAuthenticationConfiguration

The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.

oauthDiscovery
Type: OAuthDiscovery structure

How the authorization server's OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

onBehalfOfTokenExchangeConfiguration

The provider's on-behalf-of token exchange configuration as stored, with client secrets reported as Secrets Manager ARNs rather than values. Present only when the provider is configured for token exchange.

ConflictException

Description

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).

Members
message
Required: Yes
Type: string
reason
Required: Yes
Type: string

Identifies the kind of state conflict that caused the request to be rejected. New values may be added over time, so treat an unrecognized value as a generic conflict and rely on message.

resourceId
Type: string

The identifier of the resource the request conflicted with, when the service attributes the conflict to a single resource.

resourceType
Type: string

The type of the resource named by resourceId, when present.

CredentialBrokerSelfSubjectTokenSource

Description

Selects this provider's own stored end-user token as the exchange subject. Takes no parameters.

Members

CredentialProviderConfigurationInput

Description

Credential provider input configuration. Exactly one member is set based on the provider type. The same shape is used for create and update: on create the service requires the type-specific fields (enforced in the business layer); on update every field is optional and an omitted field is left unchanged (partial update).

Members
apiKeyConfiguration

API key configuration.

oauthConfiguration

OAuth / OIDC configuration.

CredentialProviderConfigurationOutput

Description

Type-specific output configuration. The member that is set matches the provider type.

Members
apiKeyConfiguration

Configuration of an API key credential provider, with the key reported as a Secrets Manager ARN rather than a value.

oauthConfiguration

Configuration of an OAuth credential provider.

CredentialProviderPoolSummary

Description

Summary of a credential provider pool as returned by ListCredentialProviderPools. Omits the pool's encryption and IAM Identity Center configuration; call GetCredentialProviderPool for a single pool's full detail.

Members
createdAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the pool was created.

credentialProviderPoolArn
Required: Yes
Type: 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
Required: Yes
Type: 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
Required: Yes
Type: 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
Required: Yes
Type: string

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.

updatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the pool was last modified. Equal to createdAt until the first successful update.

CredentialProviderSummary

Description

Summary of a credential provider as returned by ListCredentialProviders. Omits the provider's type-specific configuration; call GetCredentialProvider for a single provider's full detail.

Members
createdAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the credential provider was created.

credentialProviderArn
Required: Yes
Type: string

Amazon Resource Name of a credential provider. Service-generated and stable for the life of the provider. The ARN embeds the parent pool, so it identifies the provider on its own without a separate pool identifier. Use it in IAM policies and anywhere an operation accepts a credential provider identifier.

credentialProviderId
Required: Yes
Type: string

Service-generated identifier of a credential provider. Opaque and stable for the life of the provider, and unique within its parent pool. Accepted anywhere an operation takes a provider identifier, in place of the provider's ARN.

credentialProviderPoolId
Required: Yes
Type: 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
Required: Yes
Type: string

The name of a credential provider. Must be unique among the providers that currently exist in the same pool, and can be changed after creation with UpdateCredentialProvider. A deleted provider's name becomes available for reuse.

providerType
Required: Yes
Type: string

The kind of credential a provider obtains and the configuration it requires. Fixed when the provider is created and cannot be changed by a later update. New values may be added over time.

status
Required: Yes
Type: string

Lifecycle status of a credential provider. Create, update, and delete are asynchronous: the operation returns immediately with a transitional status, and the provider reaches READY or FAILED on its own. Poll GetCredentialProvider to observe the transition. New values may be added over time, so treat an unrecognized value as "still settling" rather than an error.

statusReason
Type: string

Explains why a resource is in a non-terminal status (e.g., FAILED, DELETING).

updatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the credential provider was last modified. Equal to createdAt until the first successful update.

CustomOAuthConfigurationInput

Description

Settings for a provider that obtains credentials from an OAuth authorization server the service has no built-in knowledge of. Because nothing can be inferred about the server, oauthDiscovery is required so its endpoints are either discovered or stated.

Members
clientAuthenticationConfiguration

The OAuth client credentials a provider uses to authenticate to its authorization server. Supply this when creating a provider; on update, omit it to leave the existing client unchanged. Any client secret given here is write-only and is never returned on reads.

oauthDiscovery
Required: Yes
Type: OAuthDiscovery structure

How the authorization server's OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

onBehalfOfTokenExchangeConfiguration

Configures on-behalf-of token exchange (RFC 8693) for a credential provider, so the provider can trade a token identifying a user for a token scoped to another audience while preserving that user's identity. Supply this to enable the TOKEN_EXCHANGE grant; omit it on update to leave the existing exchange configuration unchanged.

CustomOAuthConfigurationOutput

Description

The stored configuration of a provider for any other OAuth authorization server.

Members
clientAuthenticationConfiguration

The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.

oauthDiscovery
Type: OAuthDiscovery structure

How the authorization server's OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

onBehalfOfTokenExchangeConfiguration

The provider's on-behalf-of token exchange configuration as stored, with client secrets reported as Secrets Manager ARNs rather than values. Present only when the provider is configured for token exchange.

CustomerManagedEncryption

Description

Encryption with a KMS key that you own and manage, rather than one owned by the service.

Members
kmsKeyIdentifier
Required: Yes
Type: 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 via kms:DescribeKey at 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.

EncryptionConfiguration

Description

How cached tokens are encrypted at rest. Set exactly one member: a customer-managed configuration must name a KMS key, and a service-managed configuration takes no parameters.

Members
customerManaged
Type: CustomerManagedEncryption structure

Encrypt with a customer managed KMS key that you own.

serviceManaged
Type: Unit structure

Encrypt with a service-owned, AWS-managed key. Carries no parameters.

GithubOAuthConfigurationInput

Description

Settings for a provider that obtains credentials from GitHub. GitHub's OAuth endpoints are known to the service, so only client credentials are required.

Members
clientAuthenticationConfiguration

The OAuth client credentials a provider uses to authenticate to its authorization server. Supply this when creating a provider; on update, omit it to leave the existing client unchanged. Any client secret given here is write-only and is never returned on reads.

GithubOAuthConfigurationOutput

Description

A GitHub provider's stored configuration.

Members
clientAuthenticationConfiguration

The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.

oauthDiscovery
Type: OAuthDiscovery structure

How the authorization server's OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

GoogleOAuthConfigurationInput

Description

Settings for a provider that obtains credentials from Google. Google's OAuth endpoints are known to the service, so only client credentials are required.

Members
clientAuthenticationConfiguration

The OAuth client credentials a provider uses to authenticate to its authorization server. Supply this when creating a provider; on update, omit it to leave the existing client unchanged. Any client secret given here is write-only and is never returned on reads.

GoogleOAuthConfigurationOutput

Description

A Google provider's stored configuration.

Members
clientAuthenticationConfiguration

The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.

oauthDiscovery
Type: OAuthDiscovery structure

How the authorization server's OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

IdentityCenterConfiguration

Description

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.

Members
idcInstanceArn
Required: Yes
Type: 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.

IdentityCenterUpdate

Description

Union describing the Identity Center action to take during UpdateCredentialProviderPool. Omit the field entirely to preserve the existing binding (no-op).

Members
associate
Type: IdentityCenterConfiguration structure

Associate Identity Center with the pool using the provided configuration.

disassociate
Type: Unit structure

Disassociate Identity Center from the pool. The existing application is deleted.

InternalServerException

Description

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.

Members
message
Required: Yes
Type: string
retryAfterSeconds
Type: int

The number of seconds to wait before retrying. If this field is absent, retry with exponential backoff.

LinkedinOAuthConfigurationInput

Description

Settings for a provider that obtains credentials from LinkedIn. LinkedIn's OAuth endpoints are known to the service, so only client credentials are required.

Members
clientAuthenticationConfiguration

The OAuth client credentials a provider uses to authenticate to its authorization server. Supply this when creating a provider; on update, omit it to leave the existing client unchanged. Any client secret given here is write-only and is never returned on reads.

LinkedinOAuthConfigurationOutput

Description

A LinkedIn provider's stored configuration.

Members
clientAuthenticationConfiguration

The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.

oauthDiscovery
Type: OAuthDiscovery structure

How the authorization server's OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

MicrosoftOAuthConfigurationInput

Description

Settings for a provider that obtains credentials from Microsoft Entra ID. Supply tenantId to target a specific tenant's endpoints.

Members
clientAuthenticationConfiguration

The OAuth client credentials a provider uses to authenticate to its authorization server. Supply this when creating a provider; on update, omit it to leave the existing client unchanged. Any client secret given here is write-only and is never returned on reads.

onBehalfOfTokenExchangeConfiguration

Configures on-behalf-of token exchange (RFC 8693) for a credential provider, so the provider can trade a token identifying a user for a token scoped to another audience while preserving that user's identity. Supply this to enable the TOKEN_EXCHANGE grant; omit it on update to leave the existing exchange configuration unchanged.

tenantId
Type: string

Entra tenant. Resolves into tenant-specific discovery endpoints.

MicrosoftOAuthConfigurationOutput

Description

A Microsoft Entra ID provider's stored configuration.

Members
clientAuthenticationConfiguration

The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.

oauthDiscovery
Type: OAuthDiscovery structure

How the authorization server's OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

onBehalfOfTokenExchangeConfiguration

The provider's on-behalf-of token exchange configuration as stored, with client secrets reported as Secrets Manager ARNs rather than values. Present only when the provider is configured for token exchange.

OAuthCredentialProviderConfigurationInput

Description

OAuth credential provider input configuration. On create, allowedGrantTypes and vendorConfigurationInput are required (enforced by the service). On update every field is optional; omit a field to leave it unchanged, and the supplied vendor member must match the provider's existing vendor type.

Members
allowedGrantTypes
Type: Array of strings

The grant types this provider is allowed to use. Required on create; omit on update to leave unchanged.

allowedSessionBindingUrls
Type: Array of strings

Return URLs this provider accepts at the end of a user consent flow. Required when allowedGrantTypes includes AUTHORIZATION_CODE.

providerEncryptionConfiguration

Overrides the pool-level customer-managed KMS key. Omit to leave the current encryption configuration unchanged.

vendorConfigurationInput

Vendor-specific OAuth configuration (GitHub, Google, custom, and others). Required on create; omit on update to leave unchanged.

OAuthCredentialProviderConfigurationOutput

Description

Resolved OAuth configuration with redacted client authentication details.

Members
allowedGrantTypes
Required: Yes
Type: Array of strings

The grant types this credential provider is allowed to use. A token request naming a grant that is not in this list is rejected.

allowedSessionBindingUrls
Type: Array of strings

The return URLs this provider accepts at the end of a user consent flow, as configured at creation. Present only when the provider allows the AUTHORIZATION_CODE grant.

callbackUrls
Type: Array of strings

Redirect URIs to register with the authorization server as allowed callbacks for this provider. These are the URLs the authorization server redirects a user to after they complete the authorization flow. Present only when the provider allows the AUTHORIZATION_CODE grant.

encryptionConfiguration
Type: EncryptionConfiguration structure

How cached tokens are encrypted at rest. Set exactly one member: a customer-managed configuration must name a KMS key, and a service-managed configuration takes no parameters.

encryptionSource
Type: string

Whether encryptionConfiguration comes from the pool or the provider override.

idcInstanceArn
Type: 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
Type: 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.

vendorConfigurationOutput

Resolved discovery and redacted client authentication details.

OAuthDiscovery

Description

How the authorization server's OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

Members
authorizationServerMetadata
Type: AuthorizationServerMetadata structure

The authorization server's endpoints, supplied explicitly instead of discovered.

discoveryUrl
Type: string

URL of the authorization server's discovery document. The service fetches it and resolves the endpoints from it.

OAuthVendorConfigurationInput

Description

Identifies the authorization server a credential provider talks to, and carries the settings that server needs. Set exactly one member; the member you choose fixes the provider's vendor, which cannot be changed afterwards. Well-known vendors resolve their own OAuth endpoints, so you supply only client credentials and any tenant-specific detail. Use customConfiguration for any other OAuth authorization server.

Members
atlassianConfiguration

Configuration for Atlassian.

cognitoConfiguration

Configuration for an Amazon Cognito user pool.

customConfiguration

Configuration for any other OAuth authorization server, whose endpoints you supply.

githubConfiguration

Configuration for GitHub.

googleConfiguration

Configuration for Google.

linkedinConfiguration

Configuration for LinkedIn.

microsoftConfiguration

Configuration for Microsoft Entra ID.

oktaConfiguration
Type: OktaOAuthConfigurationInput structure

Configuration for Okta.

salesforceConfiguration

Configuration for Salesforce.

slackConfiguration

Configuration for Slack.

OAuthVendorConfigurationOutput

Description

A provider's vendor configuration as stored. The member that is set matches the provider's vendor, which is fixed at creation. Each member reports the OAuth endpoints the service resolved, and reports client secrets as Secrets Manager ARNs rather than values.

Members
atlassianConfiguration

Configuration of an Atlassian provider.

cognitoConfiguration

Configuration of an Amazon Cognito provider.

customConfiguration

Configuration of a provider for any other OAuth authorization server.

githubConfiguration

Configuration of a GitHub provider.

googleConfiguration

Configuration of a Google provider.

linkedinConfiguration

Configuration of a LinkedIn provider.

microsoftConfiguration

Configuration of a Microsoft Entra ID provider.

oktaConfiguration

Configuration of an Okta provider.

salesforceConfiguration

Configuration of a Salesforce provider.

slackConfiguration

Configuration of a Slack provider.

OktaOAuthConfigurationInput

Description

Settings for a provider that obtains credentials from Okta. The Okta organization's domain determines its endpoints, so oktaDomain is required.

Members
clientAuthenticationConfiguration

The OAuth client credentials a provider uses to authenticate to its authorization server. Supply this when creating a provider; on update, omit it to leave the existing client unchanged. Any client secret given here is write-only and is never returned on reads.

oktaDomain
Required: Yes
Type: string

Okta org domain (e.g. "mycompany.okta.com"). Resolves per-tenant endpoints.

onBehalfOfTokenExchangeConfiguration

Configures on-behalf-of token exchange (RFC 8693) for a credential provider, so the provider can trade a token identifying a user for a token scoped to another audience while preserving that user's identity. Supply this to enable the TOKEN_EXCHANGE grant; omit it on update to leave the existing exchange configuration unchanged.

OktaOAuthConfigurationOutput

Description

An Okta provider's stored configuration.

Members
clientAuthenticationConfiguration

The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.

oauthDiscovery
Type: OAuthDiscovery structure

How the authorization server's OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

onBehalfOfTokenExchangeConfiguration

The provider's on-behalf-of token exchange configuration as stored, with client secrets reported as Secrets Manager ARNs rather than values. Present only when the provider is configured for token exchange.

OnBehalfOfTokenExchangeConfigurationInput

Description

Configures on-behalf-of token exchange (RFC 8693) for a credential provider, so the provider can trade a token identifying a user for a token scoped to another audience while preserving that user's identity. Supply this to enable the TOKEN_EXCHANGE grant; omit it on update to leave the existing exchange configuration unchanged.

Members
subjectTokenSource
Required: Yes
Type: SubjectTokenSourceConfiguration structure

Where an on-behalf-of token exchange gets the subject token. The token identifying the user the exchanged token will represent. Set exactly one member.

tokenExchangeActorConfiguration

The actor presented alongside the subject in a token exchange, the party acting on the user's behalf. Omit to send no actor token.

tokenExchangeRequesterConfiguration

How the provider authenticates to the authorization server when making the token exchange request. Set exactly one member. This is separate from the provider's main client, so an exchange can present a different client than the one used to obtain the subject token.

OnBehalfOfTokenExchangeConfigurationOutput

Description

The provider's on-behalf-of token exchange configuration as stored, with client secrets reported as Secrets Manager ARNs rather than values. Present only when the provider is configured for token exchange.

Members
subjectTokenSource
Required: Yes
Type: SubjectTokenSourceConfiguration structure

Where an on-behalf-of token exchange gets the subject token. The token identifying the user the exchanged token will represent. Set exactly one member.

tokenExchangeActorConfiguration

The actor presented alongside the subject in a token exchange, the party acting on the user's behalf. Omit to send no actor token.

tokenExchangeRequesterConfiguration

How the provider authenticates to the authorization server when making the token exchange request. Set exactly one member. This is separate from the provider's main client, so an exchange can present a different client than the one used to obtain the subject token.

ProviderEncryptionConfiguration

Description

How a single credential provider's cached tokens are encrypted at rest. Set exactly one member. A provider either uses its own customer-managed KMS key or inherits whatever the parent pool uses; it cannot independently choose service-managed encryption.

Members
customerManaged
Type: CustomerManagedEncryption structure

Encrypt this provider's cached tokens with a customer managed key of its own, instead of the key the parent pool uses. Supply it again with a different key to rotate.

inheritFromPool
Type: Unit structure

Inherit the parent pool's encryption configuration.

ResourceNotFoundException

Description

The requested resource does not exist, or the caller is not permitted to know that it exists. A resource that was deleted, or that is still being created, can also be reported this way.

Members
message
Required: Yes
Type: string
resourceId
Type: string

The identifier of the resource that could not be found, echoed from the request.

resourceType
Type: string

The type of the resource named by resourceId, when present.

SalesforceOAuthConfigurationInput

Description

Settings for a provider that obtains credentials from Salesforce. The organization's My Domain host determines its endpoints, so instanceUrl is required.

Members
clientAuthenticationConfiguration

The OAuth client credentials a provider uses to authenticate to its authorization server. Supply this when creating a provider; on update, omit it to leave the existing client unchanged. Any client secret given here is write-only and is never returned on reads.

instanceUrl
Required: Yes
Type: string

Salesforce My Domain host (e.g. "mycompany.my.salesforce.com").

onBehalfOfTokenExchangeConfiguration

Configures on-behalf-of token exchange (RFC 8693) for a credential provider, so the provider can trade a token identifying a user for a token scoped to another audience while preserving that user's identity. Supply this to enable the TOKEN_EXCHANGE grant; omit it on update to leave the existing exchange configuration unchanged.

SalesforceOAuthConfigurationOutput

Description

A Salesforce provider's stored configuration.

Members
clientAuthenticationConfiguration

The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.

oauthDiscovery
Type: OAuthDiscovery structure

How the authorization server's OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

onBehalfOfTokenExchangeConfiguration

The provider's on-behalf-of token exchange configuration as stored, with client secrets reported as Secrets Manager ARNs rather than values. Present only when the provider is configured for token exchange.

SecretReference

Description

A reference to a credential held in a Secrets Manager secret that you own and manage. Use this instead of supplying the credential directly, so the value stays in your own secret.

Members
jsonKey
Required: Yes
Type: string

Key to read from the secret's JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.

secretId
Required: Yes
Type: string

Name or Amazon Resource Name of a secret in AWS Secrets Manager that you own. The secret must be in the same Region as the resource that references it, and its resource policy must allow this service to read it.

ServiceQuotaExceededException

Description

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.

Members
message
Required: Yes
Type: string
quotaCode
Type: string

The Service Quotas requirement that identifies the originating quota.

resourceId
Type: string

The identifier of the resource whose quota was exceeded, when the quota applies to a specific resource rather than the account.

resourceType
Type: string

The type of the resource named by resourceId, when present.

serviceCode
Type: string

The Service Quotas requirement that identifies the originating service.

SlackOAuthConfigurationInput

Description

Settings for a provider that obtains credentials from Slack. Slack's OAuth endpoints are known to the service, so only client credentials are required.

Members
clientAuthenticationConfiguration

The OAuth client credentials a provider uses to authenticate to its authorization server. Supply this when creating a provider; on update, omit it to leave the existing client unchanged. Any client secret given here is write-only and is never returned on reads.

SlackOAuthConfigurationOutput

Description

A Slack provider's stored configuration.

Members
clientAuthenticationConfiguration

The client credentials this provider uses to authenticate to its authorization server. The client secret is reported as an AWS Secrets Manager ARN, never as a value.

oauthDiscovery
Type: OAuthDiscovery structure

How the authorization server's OAuth endpoints are determined. Set exactly one member: give a discovery URL and let the service fetch the endpoints, or state the endpoints yourself. On reads, this reports the endpoints the service resolved and is using.

SubjectTokenSourceConfiguration

Description

Where an on-behalf-of token exchange gets the subject token. The token identifying the user the exchanged token will represent. Set exactly one member.

Members
credentialProvider
Type: string

Use an end-user token stored by the credential provider named here as the subject.

credentialProviderSelf

Use this provider's own stored end-user token as the subject, so that the same provider both obtains the user's token and exchanges it. Requires the provider to allow the AUTHORIZATION_CODE grant.

iamIdentityCenter
Type: Unit structure

Use the identity in the caller's IAM Identity Center session as the subject.

ThrottlingException

Description

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.

Members
message
Required: Yes
Type: string
retryAfterSeconds
Type: int

The number of seconds to wait before retrying. If this field is absent, retry with exponential backoff.

TokenExchangeActorConfigurationInput

Description

The actor presented alongside the subject in a token exchange, the party acting on the user's behalf. Omit to send no actor token.

Members
actorTokenContent
Required: Yes
Type: string

What the actor token in an on-behalf-of exchange asserts. The actor token identifies the party performing the exchange, as distinct from the user it acts for.

actorTokenScopes
Type: Array of strings

OAuth scopes to request. The authorization server decides which of them it grants, so the issued token may carry fewer.

TokenExchangeActorConfigurationOutput

Description

The actor configuration as stored.

Members
actorTokenContent
Required: Yes
Type: string

What the actor token in an on-behalf-of exchange asserts. The actor token identifies the party performing the exchange, as distinct from the user it acts for.

actorTokenScopes
Type: Array of strings

OAuth scopes to request. The authorization server decides which of them it grants, so the issued token may carry fewer.

TokenExchangeRequesterConfigurationInput

Description

How the provider authenticates to the authorization server when making the token exchange request. Set exactly one member. This is separate from the provider's main client, so an exchange can present a different client than the one used to obtain the subject token.

Members
noClient
Type: Unit structure

Send no client credentials on the exchange request. Takes no parameters.

requesterClientAuthenticationConfiguration

Authenticate the exchange request with these client credentials.

TokenExchangeRequesterConfigurationOutput

Description

The exchange request's client authentication as stored, with any client secret reported as a Secrets Manager ARN rather than a value.

Members
noClient
Type: Unit structure

No client credentials are sent on the exchange request. Takes no parameters.

requesterClientAuthenticationConfiguration

The client credentials used to authenticate the exchange request.

Unit

Members

ValidationException

Description

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.

Members
message
Required: Yes
Type: string
reason
Required: Yes
Type: string

Identifies which validation check a request failed. New values may be added over time, so treat an unrecognized value as a generic validation failure and rely on message for detail.