CredentialBrokerControl / Client / get_credential_provider

get_credential_provider

CredentialBrokerControl.Client.get_credential_provider(**kwargs)

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.

See also: AWS API Documentation

Request Syntax

response = client.get_credential_provider(
    credentialProviderPoolIdentifier='string',
    credentialProviderIdentifier='string'
)
Parameters:
  • credentialProviderPoolIdentifier (string) –

    [REQUIRED]

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

  • credentialProviderIdentifier (string) –

    [REQUIRED]

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

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • credentialProviderArn (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 (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 (string) –

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

    • name (string) –

      The name of a credential provider. 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 (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 (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.

    • providerConfiguration (dict) –

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

      Note

      This is a Tagged Union structure. Only one of the following top level keys will be set: oauthConfiguration, apiKeyConfiguration. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

      'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
      
      • oauthConfiguration (dict) –

        Configuration of an OAuth credential provider.

        • allowedGrantTypes (list) –

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

          • (string) –

            An OAuth 2.0 grant type. A credential provider declares the grant types it is allowed to use when it is created, and a token request names the grant to use for that call. Requesting a grant the provider does not allow is rejected.

        • vendorConfigurationOutput (dict) –

          Resolved discovery and redacted client authentication details.

          Note

          This is a Tagged Union structure. Only one of the following top level keys will be set: githubConfiguration, googleConfiguration, cognitoConfiguration, microsoftConfiguration, atlassianConfiguration, oktaConfiguration, slackConfiguration, salesforceConfiguration, linkedinConfiguration, customConfiguration. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

          'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
          
          • githubConfiguration (dict) –

            Configuration of a GitHub provider.

            • oauthDiscovery (dict) –

              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.

              Note

              This is a Tagged Union structure. Only one of the following top level keys will be set: discoveryUrl, authorizationServerMetadata. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

              'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
              
              • discoveryUrl (string) –

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

              • authorizationServerMetadata (dict) –

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

                • issuer (string) –

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

                • tokenEndpoint (string) –

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

                • authorizationEndpoint (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.

            • clientAuthenticationConfiguration (dict) –

              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.

              • clientAuthenticationMethod (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 (string) –

                OAuth client identifier registered with the authorization server.

              • clientSecretArn (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 (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 (string) –

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

          • googleConfiguration (dict) –

            Configuration of a Google provider.

            • oauthDiscovery (dict) –

              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.

              Note

              This is a Tagged Union structure. Only one of the following top level keys will be set: discoveryUrl, authorizationServerMetadata. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

              'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
              
              • discoveryUrl (string) –

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

              • authorizationServerMetadata (dict) –

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

                • issuer (string) –

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

                • tokenEndpoint (string) –

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

                • authorizationEndpoint (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.

            • clientAuthenticationConfiguration (dict) –

              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.

              • clientAuthenticationMethod (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 (string) –

                OAuth client identifier registered with the authorization server.

              • clientSecretArn (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 (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 (string) –

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

          • cognitoConfiguration (dict) –

            Configuration of an Amazon Cognito provider.

            • oauthDiscovery (dict) –

              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.

              Note

              This is a Tagged Union structure. Only one of the following top level keys will be set: discoveryUrl, authorizationServerMetadata. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

              'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
              
              • discoveryUrl (string) –

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

              • authorizationServerMetadata (dict) –

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

                • issuer (string) –

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

                • tokenEndpoint (string) –

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

                • authorizationEndpoint (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.

            • clientAuthenticationConfiguration (dict) –

              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.

              • clientAuthenticationMethod (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 (string) –

                OAuth client identifier registered with the authorization server.

              • clientSecretArn (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 (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 (string) –

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

            • onBehalfOfTokenExchangeConfiguration (dict) –

              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.

              • subjectTokenSource (dict) –

                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.

                Note

                This is a Tagged Union structure. Only one of the following top level keys will be set: iamIdentityCenter, credentialProvider, credentialProviderSelf. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

                'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
                
                • iamIdentityCenter (dict) –

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

                • credentialProvider (string) –

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

                • credentialProviderSelf (dict) –

                  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.

              • tokenExchangeActorConfiguration (dict) –

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

                • actorTokenContent (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 (list) –

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

                  • (string) –

              • tokenExchangeRequesterConfiguration (dict) –

                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.

                Note

                This is a Tagged Union structure. Only one of the following top level keys will be set: requesterClientAuthenticationConfiguration, noClient. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

                'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
                
                • requesterClientAuthenticationConfiguration (dict) –

                  The client credentials used to authenticate the exchange request.

                  • clientAuthenticationMethod (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 (string) –

                    OAuth client identifier registered with the authorization server.

                  • clientSecretArn (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 (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 (string) –

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

                • noClient (dict) –

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

          • microsoftConfiguration (dict) –

            Configuration of a Microsoft Entra ID provider.

            • oauthDiscovery (dict) –

              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.

              Note

              This is a Tagged Union structure. Only one of the following top level keys will be set: discoveryUrl, authorizationServerMetadata. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

              'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
              
              • discoveryUrl (string) –

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

              • authorizationServerMetadata (dict) –

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

                • issuer (string) –

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

                • tokenEndpoint (string) –

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

                • authorizationEndpoint (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.

            • clientAuthenticationConfiguration (dict) –

              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.

              • clientAuthenticationMethod (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 (string) –

                OAuth client identifier registered with the authorization server.

              • clientSecretArn (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 (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 (string) –

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

            • onBehalfOfTokenExchangeConfiguration (dict) –

              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.

              • subjectTokenSource (dict) –

                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.

                Note

                This is a Tagged Union structure. Only one of the following top level keys will be set: iamIdentityCenter, credentialProvider, credentialProviderSelf. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

                'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
                
                • iamIdentityCenter (dict) –

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

                • credentialProvider (string) –

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

                • credentialProviderSelf (dict) –

                  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.

              • tokenExchangeActorConfiguration (dict) –

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

                • actorTokenContent (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 (list) –

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

                  • (string) –

              • tokenExchangeRequesterConfiguration (dict) –

                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.

                Note

                This is a Tagged Union structure. Only one of the following top level keys will be set: requesterClientAuthenticationConfiguration, noClient. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

                'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
                
                • requesterClientAuthenticationConfiguration (dict) –

                  The client credentials used to authenticate the exchange request.

                  • clientAuthenticationMethod (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 (string) –

                    OAuth client identifier registered with the authorization server.

                  • clientSecretArn (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 (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 (string) –

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

                • noClient (dict) –

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

          • atlassianConfiguration (dict) –

            Configuration of an Atlassian provider.

            • oauthDiscovery (dict) –

              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.

              Note

              This is a Tagged Union structure. Only one of the following top level keys will be set: discoveryUrl, authorizationServerMetadata. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

              'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
              
              • discoveryUrl (string) –

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

              • authorizationServerMetadata (dict) –

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

                • issuer (string) –

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

                • tokenEndpoint (string) –

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

                • authorizationEndpoint (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.

            • clientAuthenticationConfiguration (dict) –

              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.

              • clientAuthenticationMethod (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 (string) –

                OAuth client identifier registered with the authorization server.

              • clientSecretArn (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 (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 (string) –

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

          • oktaConfiguration (dict) –

            Configuration of an Okta provider.

            • oauthDiscovery (dict) –

              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.

              Note

              This is a Tagged Union structure. Only one of the following top level keys will be set: discoveryUrl, authorizationServerMetadata. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

              'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
              
              • discoveryUrl (string) –

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

              • authorizationServerMetadata (dict) –

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

                • issuer (string) –

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

                • tokenEndpoint (string) –

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

                • authorizationEndpoint (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.

            • clientAuthenticationConfiguration (dict) –

              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.

              • clientAuthenticationMethod (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 (string) –

                OAuth client identifier registered with the authorization server.

              • clientSecretArn (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 (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 (string) –

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

            • onBehalfOfTokenExchangeConfiguration (dict) –

              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.

              • subjectTokenSource (dict) –

                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.

                Note

                This is a Tagged Union structure. Only one of the following top level keys will be set: iamIdentityCenter, credentialProvider, credentialProviderSelf. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

                'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
                
                • iamIdentityCenter (dict) –

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

                • credentialProvider (string) –

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

                • credentialProviderSelf (dict) –

                  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.

              • tokenExchangeActorConfiguration (dict) –

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

                • actorTokenContent (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 (list) –

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

                  • (string) –

              • tokenExchangeRequesterConfiguration (dict) –

                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.

                Note

                This is a Tagged Union structure. Only one of the following top level keys will be set: requesterClientAuthenticationConfiguration, noClient. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

                'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
                
                • requesterClientAuthenticationConfiguration (dict) –

                  The client credentials used to authenticate the exchange request.

                  • clientAuthenticationMethod (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 (string) –

                    OAuth client identifier registered with the authorization server.

                  • clientSecretArn (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 (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 (string) –

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

                • noClient (dict) –

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

          • slackConfiguration (dict) –

            Configuration of a Slack provider.

            • oauthDiscovery (dict) –

              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.

              Note

              This is a Tagged Union structure. Only one of the following top level keys will be set: discoveryUrl, authorizationServerMetadata. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

              'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
              
              • discoveryUrl (string) –

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

              • authorizationServerMetadata (dict) –

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

                • issuer (string) –

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

                • tokenEndpoint (string) –

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

                • authorizationEndpoint (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.

            • clientAuthenticationConfiguration (dict) –

              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.

              • clientAuthenticationMethod (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 (string) –

                OAuth client identifier registered with the authorization server.

              • clientSecretArn (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 (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 (string) –

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

          • salesforceConfiguration (dict) –

            Configuration of a Salesforce provider.

            • oauthDiscovery (dict) –

              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.

              Note

              This is a Tagged Union structure. Only one of the following top level keys will be set: discoveryUrl, authorizationServerMetadata. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

              'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
              
              • discoveryUrl (string) –

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

              • authorizationServerMetadata (dict) –

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

                • issuer (string) –

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

                • tokenEndpoint (string) –

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

                • authorizationEndpoint (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.

            • clientAuthenticationConfiguration (dict) –

              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.

              • clientAuthenticationMethod (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 (string) –

                OAuth client identifier registered with the authorization server.

              • clientSecretArn (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 (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 (string) –

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

            • onBehalfOfTokenExchangeConfiguration (dict) –

              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.

              • subjectTokenSource (dict) –

                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.

                Note

                This is a Tagged Union structure. Only one of the following top level keys will be set: iamIdentityCenter, credentialProvider, credentialProviderSelf. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

                'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
                
                • iamIdentityCenter (dict) –

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

                • credentialProvider (string) –

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

                • credentialProviderSelf (dict) –

                  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.

              • tokenExchangeActorConfiguration (dict) –

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

                • actorTokenContent (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 (list) –

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

                  • (string) –

              • tokenExchangeRequesterConfiguration (dict) –

                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.

                Note

                This is a Tagged Union structure. Only one of the following top level keys will be set: requesterClientAuthenticationConfiguration, noClient. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

                'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
                
                • requesterClientAuthenticationConfiguration (dict) –

                  The client credentials used to authenticate the exchange request.

                  • clientAuthenticationMethod (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 (string) –

                    OAuth client identifier registered with the authorization server.

                  • clientSecretArn (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 (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 (string) –

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

                • noClient (dict) –

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

          • linkedinConfiguration (dict) –

            Configuration of a LinkedIn provider.

            • oauthDiscovery (dict) –

              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.

              Note

              This is a Tagged Union structure. Only one of the following top level keys will be set: discoveryUrl, authorizationServerMetadata. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

              'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
              
              • discoveryUrl (string) –

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

              • authorizationServerMetadata (dict) –

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

                • issuer (string) –

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

                • tokenEndpoint (string) –

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

                • authorizationEndpoint (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.

            • clientAuthenticationConfiguration (dict) –

              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.

              • clientAuthenticationMethod (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 (string) –

                OAuth client identifier registered with the authorization server.

              • clientSecretArn (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 (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 (string) –

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

          • customConfiguration (dict) –

            Configuration of a provider for any other OAuth authorization server.

            • oauthDiscovery (dict) –

              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.

              Note

              This is a Tagged Union structure. Only one of the following top level keys will be set: discoveryUrl, authorizationServerMetadata. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

              'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
              
              • discoveryUrl (string) –

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

              • authorizationServerMetadata (dict) –

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

                • issuer (string) –

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

                • tokenEndpoint (string) –

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

                • authorizationEndpoint (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.

            • clientAuthenticationConfiguration (dict) –

              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.

              • clientAuthenticationMethod (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 (string) –

                OAuth client identifier registered with the authorization server.

              • clientSecretArn (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 (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 (string) –

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

            • onBehalfOfTokenExchangeConfiguration (dict) –

              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.

              • subjectTokenSource (dict) –

                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.

                Note

                This is a Tagged Union structure. Only one of the following top level keys will be set: iamIdentityCenter, credentialProvider, credentialProviderSelf. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

                'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
                
                • iamIdentityCenter (dict) –

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

                • credentialProvider (string) –

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

                • credentialProviderSelf (dict) –

                  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.

              • tokenExchangeActorConfiguration (dict) –

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

                • actorTokenContent (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 (list) –

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

                  • (string) –

              • tokenExchangeRequesterConfiguration (dict) –

                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.

                Note

                This is a Tagged Union structure. Only one of the following top level keys will be set: requesterClientAuthenticationConfiguration, noClient. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

                'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
                
                • requesterClientAuthenticationConfiguration (dict) –

                  The client credentials used to authenticate the exchange request.

                  • clientAuthenticationMethod (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 (string) –

                    OAuth client identifier registered with the authorization server.

                  • clientSecretArn (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 (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 (string) –

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

                • noClient (dict) –

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

        • encryptionConfiguration (dict) –

          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.

          Note

          This is a Tagged Union structure. Only one of the following top level keys will be set: customerManaged, serviceManaged. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

          'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
          
          • customerManaged (dict) –

            Encrypt with a customer managed KMS key that you own.

            • kmsKeyIdentifier (string) –

              Identifier of the customer-managed KMS key used to encrypt cached tokens. Accepts a key ARN ( ...:key/<id>), an alias ARN ( ...:alias/<name>), or a bare alias name ( alias/<name>). Any alias is dereferenced to its underlying key ARN 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.

          • serviceManaged (dict) –

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

        • encryptionSource (string) –

          Whether encryptionConfiguration comes from the pool or the provider override.

        • identityCenterApplicationArn (string) –

          Amazon Resource Name of the IAM Identity Center application created for a pool. Service-generated and read-only. It is created when an Identity Center instance is associated with the pool and deleted when the association is removed. Because the application belongs to the pool, every credential provider in that pool reports the same value.

        • idcInstanceArn (string) –

          Amazon Resource Name of the IAM Identity Center instance to associate with a pool. The instance must already exist and be in the same Region as the pool.

        • allowedSessionBindingUrls (list) –

          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.

          • (string) –

            A return URL on your own domain that the end user’s browser is sent to once they finish granting consent. Register the URLs a provider accepts when you create or update it; a request that starts a consent session must then name one of them.

            Must use https, except for a loopback host (localhost, 127.0.0.0/8, or [::1]), where http is also accepted. A port is optional and is matched exactly, so a client listening on a loopback port must register that port.

        • callbackUrls (list) –

          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.

          • (string) –

      • apiKeyConfiguration (dict) –

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

        • apiKeySecretOutput (dict) –

          Secret pointer and source; never the API key value.

          • apiKeySecretArn (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.

          • apiKeySecretSource (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).

          • apiKeySecretJsonKey (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.

    • statusReason (string) –

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

    • createdAt (datetime) –

      When the credential provider was created.

    • updatedAt (datetime) –

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

Exceptions