---
type: resource-type
title: OAuth2CredentialProvider
description: aws resource type AWS::BedrockAgentCore::OAuth2CredentialProvider
name: OAuth2CredentialProvider
lexicon: aws
resource_type: AWS::BedrockAgentCore::OAuth2CredentialProvider
---
`AWS::BedrockAgentCore::OAuth2CredentialProvider`, a resource type of the aws lexicon.

## Properties

- `CredentialProviderVendor` (`"AtlassianOauth2" | "Auth0Oauth2" | "CognitoOauth2" | "CustomOauth2" | "CyberArkOauth2" | "DropboxOauth2" | "FacebookOauth2" | "FusionAuthOauth2" | "GithubOauth2" | "GoogleOauth2" | "HubspotOauth2" | "LinkedinOauth2" | "MicrosoftOauth2" | "NotionOauth2" | "OktaOauth2" | "OneLoginOauth2" | "PingOneOauth2" | "RedditOauth2" | "SalesforceOauth2" | "SlackOauth2" | "SpotifyOauth2" | "TwitchOauth2" | "XOauth2" | "YandexOauth2" | "ZoomOauth2"`, required): The vendor of the OAuth2 credential provider
- `Name` (`string`, required): The name of the OAuth2 credential provider
- `CallbackUrl` (`string`, optional): The callback URL for the OAuth2 authorization flow
- `ClientSecretArn` (`OAuth2CredentialProvider_ClientSecretArn`, optional): The ARN of the client secret in AWS Secrets Manager
- `ClientSecretJsonKey` (`string`, optional): The JSON key within the secret that contains the client secret value
- `ClientSecretSource` (`"EXTERNAL" | "MANAGED"`, optional): The source of the client secret
- `CreatedTime` (`string`, optional): The timestamp when the credential provider was created
- `CredentialProviderArn` (`string`, optional): The Amazon Resource Name (ARN) of the OAuth2 credential provider
- `LastUpdatedTime` (`string`, optional): The timestamp when the credential provider was last updated
- `Oauth2ProviderConfigInput` (`OAuth2CredentialProvider_Oauth2ProviderConfigInput`, optional): The configuration settings for the OAuth2 provider
- `Oauth2ProviderConfigOutput` (`OAuth2CredentialProvider_Oauth2ProviderConfigOutput`, optional): The output configuration for the OAuth2 provider
- `Status` (`"CREATE_FAILED" | "CREATING" | "DELETE_FAILED" | "DELETING" | "READY" | "UPDATE_FAILED" | "UPDATING"`, optional): The current status of the OAuth2 credential provider
- `Tags` (`OAuth2CredentialProvider_Tag[]`, optional): Tags to assign to the OAuth2 credential provider

## Attributes

- `CallbackUrl`
- `ClientSecretArn`
- `ClientSecretJsonKey`
- `ClientSecretSource`
- `CreatedTime`
- `CredentialProviderArn`
- `LastUpdatedTime`
- `Oauth2ProviderConfigOutput`
- `Status`
