CredentialBrokerControl / Client / create_credential_provider

create_credential_provider

CredentialBrokerControl.Client.create_credential_provider(**kwargs)

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.

See also: AWS API Documentation

Request Syntax

response = client.create_credential_provider(
    credentialProviderPoolIdentifier='string',
    name='string',
    clientToken='string',
    providerConfigurationInput={
        'oauthConfiguration': {
            'allowedGrantTypes': [
                'CLIENT_CREDENTIALS'|'TOKEN_EXCHANGE'|'JWT_AUTHORIZATION_GRANT'|'AUTHORIZATION_CODE',
            ],
            'vendorConfigurationInput': {
                'githubConfiguration': {
                    'clientAuthenticationConfiguration': {
                        'clientAuthenticationMethod': 'CLIENT_SECRET_BASIC'|'CLIENT_SECRET_POST'|'NONE',
                        'clientId': 'string',
                        'clientSecret': {
                            'clientSecret': 'string',
                            'clientSecretReference': {
                                'secretId': 'string',
                                'jsonKey': 'string'
                            }
                        }
                    }
                },
                'googleConfiguration': {
                    'clientAuthenticationConfiguration': {
                        'clientAuthenticationMethod': 'CLIENT_SECRET_BASIC'|'CLIENT_SECRET_POST'|'NONE',
                        'clientId': 'string',
                        'clientSecret': {
                            'clientSecret': 'string',
                            'clientSecretReference': {
                                'secretId': 'string',
                                'jsonKey': 'string'
                            }
                        }
                    }
                },
                'cognitoConfiguration': {
                    'clientAuthenticationConfiguration': {
                        'clientAuthenticationMethod': 'CLIENT_SECRET_BASIC'|'CLIENT_SECRET_POST'|'NONE',
                        'clientId': 'string',
                        'clientSecret': {
                            'clientSecret': 'string',
                            'clientSecretReference': {
                                'secretId': 'string',
                                'jsonKey': 'string'
                            }
                        }
                    },
                    'userPoolId': 'string',
                    'cognitoRegion': 'string',
                    'onBehalfOfTokenExchangeConfiguration': {
                        'subjectTokenSource': {
                            'iamIdentityCenter': {}
                            ,
                            'credentialProvider': 'string',
                            'credentialProviderSelf': {}

                        },
                        'tokenExchangeActorConfiguration': {
                            'actorTokenContent': 'NONE'|'M2M',
                            'actorTokenScopes': [
                                'string',
                            ]
                        },
                        'tokenExchangeRequesterConfiguration': {
                            'requesterClientAuthenticationConfiguration': {
                                'clientAuthenticationMethod': 'CLIENT_SECRET_BASIC'|'CLIENT_SECRET_POST'|'NONE',
                                'clientId': 'string',
                                'clientSecret': {
                                    'clientSecret': 'string',
                                    'clientSecretReference': {
                                        'secretId': 'string',
                                        'jsonKey': 'string'
                                    }
                                }
                            },
                            'noClient': {}

                        }
                    }
                },
                'microsoftConfiguration': {
                    'clientAuthenticationConfiguration': {
                        'clientAuthenticationMethod': 'CLIENT_SECRET_BASIC'|'CLIENT_SECRET_POST'|'NONE',
                        'clientId': 'string',
                        'clientSecret': {
                            'clientSecret': 'string',
                            'clientSecretReference': {
                                'secretId': 'string',
                                'jsonKey': 'string'
                            }
                        }
                    },
                    'tenantId': 'string',
                    'onBehalfOfTokenExchangeConfiguration': {
                        'subjectTokenSource': {
                            'iamIdentityCenter': {}
                            ,
                            'credentialProvider': 'string',
                            'credentialProviderSelf': {}

                        },
                        'tokenExchangeActorConfiguration': {
                            'actorTokenContent': 'NONE'|'M2M',
                            'actorTokenScopes': [
                                'string',
                            ]
                        },
                        'tokenExchangeRequesterConfiguration': {
                            'requesterClientAuthenticationConfiguration': {
                                'clientAuthenticationMethod': 'CLIENT_SECRET_BASIC'|'CLIENT_SECRET_POST'|'NONE',
                                'clientId': 'string',
                                'clientSecret': {
                                    'clientSecret': 'string',
                                    'clientSecretReference': {
                                        'secretId': 'string',
                                        'jsonKey': 'string'
                                    }
                                }
                            },
                            'noClient': {}

                        }
                    }
                },
                'atlassianConfiguration': {
                    'clientAuthenticationConfiguration': {
                        'clientAuthenticationMethod': 'CLIENT_SECRET_BASIC'|'CLIENT_SECRET_POST'|'NONE',
                        'clientId': 'string',
                        'clientSecret': {
                            'clientSecret': 'string',
                            'clientSecretReference': {
                                'secretId': 'string',
                                'jsonKey': 'string'
                            }
                        }
                    }
                },
                'oktaConfiguration': {
                    'clientAuthenticationConfiguration': {
                        'clientAuthenticationMethod': 'CLIENT_SECRET_BASIC'|'CLIENT_SECRET_POST'|'NONE',
                        'clientId': 'string',
                        'clientSecret': {
                            'clientSecret': 'string',
                            'clientSecretReference': {
                                'secretId': 'string',
                                'jsonKey': 'string'
                            }
                        }
                    },
                    'oktaDomain': 'string',
                    'onBehalfOfTokenExchangeConfiguration': {
                        'subjectTokenSource': {
                            'iamIdentityCenter': {}
                            ,
                            'credentialProvider': 'string',
                            'credentialProviderSelf': {}

                        },
                        'tokenExchangeActorConfiguration': {
                            'actorTokenContent': 'NONE'|'M2M',
                            'actorTokenScopes': [
                                'string',
                            ]
                        },
                        'tokenExchangeRequesterConfiguration': {
                            'requesterClientAuthenticationConfiguration': {
                                'clientAuthenticationMethod': 'CLIENT_SECRET_BASIC'|'CLIENT_SECRET_POST'|'NONE',
                                'clientId': 'string',
                                'clientSecret': {
                                    'clientSecret': 'string',
                                    'clientSecretReference': {
                                        'secretId': 'string',
                                        'jsonKey': 'string'
                                    }
                                }
                            },
                            'noClient': {}

                        }
                    }
                },
                'slackConfiguration': {
                    'clientAuthenticationConfiguration': {
                        'clientAuthenticationMethod': 'CLIENT_SECRET_BASIC'|'CLIENT_SECRET_POST'|'NONE',
                        'clientId': 'string',
                        'clientSecret': {
                            'clientSecret': 'string',
                            'clientSecretReference': {
                                'secretId': 'string',
                                'jsonKey': 'string'
                            }
                        }
                    }
                },
                'salesforceConfiguration': {
                    'clientAuthenticationConfiguration': {
                        'clientAuthenticationMethod': 'CLIENT_SECRET_BASIC'|'CLIENT_SECRET_POST'|'NONE',
                        'clientId': 'string',
                        'clientSecret': {
                            'clientSecret': 'string',
                            'clientSecretReference': {
                                'secretId': 'string',
                                'jsonKey': 'string'
                            }
                        }
                    },
                    'instanceUrl': 'string',
                    'onBehalfOfTokenExchangeConfiguration': {
                        'subjectTokenSource': {
                            'iamIdentityCenter': {}
                            ,
                            'credentialProvider': 'string',
                            'credentialProviderSelf': {}

                        },
                        'tokenExchangeActorConfiguration': {
                            'actorTokenContent': 'NONE'|'M2M',
                            'actorTokenScopes': [
                                'string',
                            ]
                        },
                        'tokenExchangeRequesterConfiguration': {
                            'requesterClientAuthenticationConfiguration': {
                                'clientAuthenticationMethod': 'CLIENT_SECRET_BASIC'|'CLIENT_SECRET_POST'|'NONE',
                                'clientId': 'string',
                                'clientSecret': {
                                    'clientSecret': 'string',
                                    'clientSecretReference': {
                                        'secretId': 'string',
                                        'jsonKey': 'string'
                                    }
                                }
                            },
                            'noClient': {}

                        }
                    }
                },
                'linkedinConfiguration': {
                    'clientAuthenticationConfiguration': {
                        'clientAuthenticationMethod': 'CLIENT_SECRET_BASIC'|'CLIENT_SECRET_POST'|'NONE',
                        'clientId': 'string',
                        'clientSecret': {
                            'clientSecret': 'string',
                            'clientSecretReference': {
                                'secretId': 'string',
                                'jsonKey': 'string'
                            }
                        }
                    }
                },
                'customConfiguration': {
                    'clientAuthenticationConfiguration': {
                        'clientAuthenticationMethod': 'CLIENT_SECRET_BASIC'|'CLIENT_SECRET_POST'|'NONE',
                        'clientId': 'string',
                        'clientSecret': {
                            'clientSecret': 'string',
                            'clientSecretReference': {
                                'secretId': 'string',
                                'jsonKey': 'string'
                            }
                        }
                    },
                    'oauthDiscovery': {
                        'discoveryUrl': 'string',
                        'authorizationServerMetadata': {
                            'issuer': 'string',
                            'tokenEndpoint': 'string',
                            'authorizationEndpoint': 'string'
                        }
                    },
                    'onBehalfOfTokenExchangeConfiguration': {
                        'subjectTokenSource': {
                            'iamIdentityCenter': {}
                            ,
                            'credentialProvider': 'string',
                            'credentialProviderSelf': {}

                        },
                        'tokenExchangeActorConfiguration': {
                            'actorTokenContent': 'NONE'|'M2M',
                            'actorTokenScopes': [
                                'string',
                            ]
                        },
                        'tokenExchangeRequesterConfiguration': {
                            'requesterClientAuthenticationConfiguration': {
                                'clientAuthenticationMethod': 'CLIENT_SECRET_BASIC'|'CLIENT_SECRET_POST'|'NONE',
                                'clientId': 'string',
                                'clientSecret': {
                                    'clientSecret': 'string',
                                    'clientSecretReference': {
                                        'secretId': 'string',
                                        'jsonKey': 'string'
                                    }
                                }
                            },
                            'noClient': {}

                        }
                    }
                }
            },
            'allowedSessionBindingUrls': [
                'string',
            ],
            'providerEncryptionConfiguration': {
                'customerManaged': {
                    'kmsKeyIdentifier': 'string'
                },
                'inheritFromPool': {}

            }
        },
        'apiKeyConfiguration': {
            'apiKeySecretInput': {
                'apiKey': 'string',
                'apiKeySecretReference': {
                    'secretId': 'string',
                    'jsonKey': 'string'
                }
            }
        }
    },
    tags={
        'string': '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.

  • name (string) –

    [REQUIRED]

    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.

  • clientToken (string) –

    SDK-populated idempotency token for safe retries.

    This field is autopopulated if not provided.

  • providerConfigurationInput (dict) –

    [REQUIRED]

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

    Note

    This is a Tagged Union structure. Only one of the following top level keys can be set: oauthConfiguration, apiKeyConfiguration.

    • oauthConfiguration (dict) –

      OAuth / OIDC configuration.

      • allowedGrantTypes (list) –

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

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

      • vendorConfigurationInput (dict) –

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

        Note

        This is a Tagged Union structure. Only one of the following top level keys can be set: githubConfiguration, googleConfiguration, cognitoConfiguration, microsoftConfiguration, atlassianConfiguration, oktaConfiguration, slackConfiguration, salesforceConfiguration, linkedinConfiguration, customConfiguration.

        • githubConfiguration (dict) –

          Configuration for GitHub.

          • clientAuthenticationConfiguration (dict) –

            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.

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

              OAuth client identifier registered with the authorization server.

            • clientSecret (dict) –

              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.

              Note

              This is a Tagged Union structure. Only one of the following top level keys can be set: clientSecret, clientSecretReference.

              • clientSecret (string) –

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

              • clientSecretReference (dict) –

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

                • secretId (string) – [REQUIRED]

                  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.

                • jsonKey (string) – [REQUIRED]

                  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.

        • googleConfiguration (dict) –

          Configuration for Google.

          • clientAuthenticationConfiguration (dict) –

            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.

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

              OAuth client identifier registered with the authorization server.

            • clientSecret (dict) –

              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.

              Note

              This is a Tagged Union structure. Only one of the following top level keys can be set: clientSecret, clientSecretReference.

              • clientSecret (string) –

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

              • clientSecretReference (dict) –

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

                • secretId (string) – [REQUIRED]

                  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.

                • jsonKey (string) – [REQUIRED]

                  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.

        • cognitoConfiguration (dict) –

          Configuration for an Amazon Cognito user pool.

          • clientAuthenticationConfiguration (dict) –

            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.

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

              OAuth client identifier registered with the authorization server.

            • clientSecret (dict) –

              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.

              Note

              This is a Tagged Union structure. Only one of the following top level keys can be set: clientSecret, clientSecretReference.

              • clientSecret (string) –

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

              • clientSecretReference (dict) –

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

                • secretId (string) – [REQUIRED]

                  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.

                • jsonKey (string) – [REQUIRED]

                  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.

          • userPoolId (string) – [REQUIRED]

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

          • cognitoRegion (string) –

            Defaults to the call region when omitted.

          • onBehalfOfTokenExchangeConfiguration (dict) –

            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.

            • subjectTokenSource (dict) – [REQUIRED]

              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 can be set: iamIdentityCenter, credentialProvider, credentialProviderSelf.

              • 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) – [REQUIRED]

                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 can be set: requesterClientAuthenticationConfiguration, noClient.

              • requesterClientAuthenticationConfiguration (dict) –

                Authenticate the exchange request with these client credentials.

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

                  OAuth client identifier registered with the authorization server.

                • clientSecret (dict) –

                  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.

                  Note

                  This is a Tagged Union structure. Only one of the following top level keys can be set: clientSecret, clientSecretReference.

                  • clientSecret (string) –

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

                  • clientSecretReference (dict) –

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

                    • secretId (string) – [REQUIRED]

                      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.

                    • jsonKey (string) – [REQUIRED]

                      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.

              • noClient (dict) –

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

        • microsoftConfiguration (dict) –

          Configuration for Microsoft Entra ID.

          • clientAuthenticationConfiguration (dict) –

            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.

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

              OAuth client identifier registered with the authorization server.

            • clientSecret (dict) –

              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.

              Note

              This is a Tagged Union structure. Only one of the following top level keys can be set: clientSecret, clientSecretReference.

              • clientSecret (string) –

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

              • clientSecretReference (dict) –

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

                • secretId (string) – [REQUIRED]

                  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.

                • jsonKey (string) – [REQUIRED]

                  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.

          • tenantId (string) –

            Entra tenant. Resolves into tenant-specific discovery endpoints.

          • onBehalfOfTokenExchangeConfiguration (dict) –

            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.

            • subjectTokenSource (dict) – [REQUIRED]

              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 can be set: iamIdentityCenter, credentialProvider, credentialProviderSelf.

              • 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) – [REQUIRED]

                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 can be set: requesterClientAuthenticationConfiguration, noClient.

              • requesterClientAuthenticationConfiguration (dict) –

                Authenticate the exchange request with these client credentials.

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

                  OAuth client identifier registered with the authorization server.

                • clientSecret (dict) –

                  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.

                  Note

                  This is a Tagged Union structure. Only one of the following top level keys can be set: clientSecret, clientSecretReference.

                  • clientSecret (string) –

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

                  • clientSecretReference (dict) –

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

                    • secretId (string) – [REQUIRED]

                      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.

                    • jsonKey (string) – [REQUIRED]

                      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.

              • noClient (dict) –

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

        • atlassianConfiguration (dict) –

          Configuration for Atlassian.

          • clientAuthenticationConfiguration (dict) –

            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.

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

              OAuth client identifier registered with the authorization server.

            • clientSecret (dict) –

              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.

              Note

              This is a Tagged Union structure. Only one of the following top level keys can be set: clientSecret, clientSecretReference.

              • clientSecret (string) –

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

              • clientSecretReference (dict) –

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

                • secretId (string) – [REQUIRED]

                  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.

                • jsonKey (string) – [REQUIRED]

                  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.

        • oktaConfiguration (dict) –

          Configuration for Okta.

          • clientAuthenticationConfiguration (dict) –

            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.

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

              OAuth client identifier registered with the authorization server.

            • clientSecret (dict) –

              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.

              Note

              This is a Tagged Union structure. Only one of the following top level keys can be set: clientSecret, clientSecretReference.

              • clientSecret (string) –

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

              • clientSecretReference (dict) –

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

                • secretId (string) – [REQUIRED]

                  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.

                • jsonKey (string) – [REQUIRED]

                  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.

          • oktaDomain (string) – [REQUIRED]

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

          • onBehalfOfTokenExchangeConfiguration (dict) –

            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.

            • subjectTokenSource (dict) – [REQUIRED]

              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 can be set: iamIdentityCenter, credentialProvider, credentialProviderSelf.

              • 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) – [REQUIRED]

                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 can be set: requesterClientAuthenticationConfiguration, noClient.

              • requesterClientAuthenticationConfiguration (dict) –

                Authenticate the exchange request with these client credentials.

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

                  OAuth client identifier registered with the authorization server.

                • clientSecret (dict) –

                  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.

                  Note

                  This is a Tagged Union structure. Only one of the following top level keys can be set: clientSecret, clientSecretReference.

                  • clientSecret (string) –

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

                  • clientSecretReference (dict) –

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

                    • secretId (string) – [REQUIRED]

                      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.

                    • jsonKey (string) – [REQUIRED]

                      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.

              • noClient (dict) –

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

        • slackConfiguration (dict) –

          Configuration for Slack.

          • clientAuthenticationConfiguration (dict) –

            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.

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

              OAuth client identifier registered with the authorization server.

            • clientSecret (dict) –

              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.

              Note

              This is a Tagged Union structure. Only one of the following top level keys can be set: clientSecret, clientSecretReference.

              • clientSecret (string) –

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

              • clientSecretReference (dict) –

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

                • secretId (string) – [REQUIRED]

                  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.

                • jsonKey (string) – [REQUIRED]

                  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.

        • salesforceConfiguration (dict) –

          Configuration for Salesforce.

          • clientAuthenticationConfiguration (dict) –

            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.

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

              OAuth client identifier registered with the authorization server.

            • clientSecret (dict) –

              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.

              Note

              This is a Tagged Union structure. Only one of the following top level keys can be set: clientSecret, clientSecretReference.

              • clientSecret (string) –

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

              • clientSecretReference (dict) –

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

                • secretId (string) – [REQUIRED]

                  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.

                • jsonKey (string) – [REQUIRED]

                  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.

          • instanceUrl (string) – [REQUIRED]

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

          • onBehalfOfTokenExchangeConfiguration (dict) –

            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.

            • subjectTokenSource (dict) – [REQUIRED]

              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 can be set: iamIdentityCenter, credentialProvider, credentialProviderSelf.

              • 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) – [REQUIRED]

                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 can be set: requesterClientAuthenticationConfiguration, noClient.

              • requesterClientAuthenticationConfiguration (dict) –

                Authenticate the exchange request with these client credentials.

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

                  OAuth client identifier registered with the authorization server.

                • clientSecret (dict) –

                  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.

                  Note

                  This is a Tagged Union structure. Only one of the following top level keys can be set: clientSecret, clientSecretReference.

                  • clientSecret (string) –

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

                  • clientSecretReference (dict) –

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

                    • secretId (string) – [REQUIRED]

                      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.

                    • jsonKey (string) – [REQUIRED]

                      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.

              • noClient (dict) –

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

        • linkedinConfiguration (dict) –

          Configuration for LinkedIn.

          • clientAuthenticationConfiguration (dict) –

            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.

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

              OAuth client identifier registered with the authorization server.

            • clientSecret (dict) –

              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.

              Note

              This is a Tagged Union structure. Only one of the following top level keys can be set: clientSecret, clientSecretReference.

              • clientSecret (string) –

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

              • clientSecretReference (dict) –

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

                • secretId (string) – [REQUIRED]

                  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.

                • jsonKey (string) – [REQUIRED]

                  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.

        • customConfiguration (dict) –

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

          • clientAuthenticationConfiguration (dict) –

            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.

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

              OAuth client identifier registered with the authorization server.

            • clientSecret (dict) –

              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.

              Note

              This is a Tagged Union structure. Only one of the following top level keys can be set: clientSecret, clientSecretReference.

              • clientSecret (string) –

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

              • clientSecretReference (dict) –

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

                • secretId (string) – [REQUIRED]

                  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.

                • jsonKey (string) – [REQUIRED]

                  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.

          • oauthDiscovery (dict) – [REQUIRED]

            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 can be set: discoveryUrl, authorizationServerMetadata.

            • 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) – [REQUIRED]

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

              • tokenEndpoint (string) – [REQUIRED]

                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.

          • onBehalfOfTokenExchangeConfiguration (dict) –

            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.

            • subjectTokenSource (dict) – [REQUIRED]

              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 can be set: iamIdentityCenter, credentialProvider, credentialProviderSelf.

              • 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) – [REQUIRED]

                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 can be set: requesterClientAuthenticationConfiguration, noClient.

              • requesterClientAuthenticationConfiguration (dict) –

                Authenticate the exchange request with these client credentials.

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

                  OAuth client identifier registered with the authorization server.

                • clientSecret (dict) –

                  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.

                  Note

                  This is a Tagged Union structure. Only one of the following top level keys can be set: clientSecret, clientSecretReference.

                  • clientSecret (string) –

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

                  • clientSecretReference (dict) –

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

                    • secretId (string) – [REQUIRED]

                      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.

                    • jsonKey (string) – [REQUIRED]

                      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.

              • noClient (dict) –

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

      • allowedSessionBindingUrls (list) –

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

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

      • providerEncryptionConfiguration (dict) –

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

        Note

        This is a Tagged Union structure. Only one of the following top level keys can be set: customerManaged, inheritFromPool.

        • customerManaged (dict) –

          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.

          • kmsKeyIdentifier (string) – [REQUIRED]

            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.

        • inheritFromPool (dict) –

          Inherit the parent pool’s encryption configuration.

    • apiKeyConfiguration (dict) –

      API key configuration.

      • apiKeySecretInput (dict) –

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

        Note

        This is a Tagged Union structure. Only one of the following top level keys can be set: apiKey, apiKeySecretReference.

        • apiKey (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 (dict) –

          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.

          • secretId (string) – [REQUIRED]

            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.

          • jsonKey (string) – [REQUIRED]

            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.

  • tags (dict) –

    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.

    • (string) –

      • (string) –

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),
    'tags': {
        'string': 'string'
    }
}

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 resolved configuration with redacted secrets.

      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.

    • tags (dict) –

      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.

      • (string) –

        • (string) –

Exceptions