View a markdown version of this page

AWS::BedrockAgentCore::OAuth2CredentialProvider GithubOauth2ProviderConfigInput - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::BedrockAgentCore::OAuth2CredentialProvider GithubOauth2ProviderConfigInput

Input configuration for a GitHub OAuth2 provider.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "ClientId" : String, "ClientSecret" : String, "ClientSecretConfig" : SecretReference, "ClientSecretSource" : String }

Properties

ClientId

The client ID for the GitHub OAuth2 provider.

Required: Yes

Type: String

Minimum: 1

Maximum: 256

Update requires: No interruption

ClientSecret

The client secret for the GitHub OAuth2 provider.

Required: No

Type: String

Minimum: 1

Maximum: 2048

Update requires: No interruption

ClientSecretConfig

A reference to the AWS Secrets Manager secret that stores the client secret. This includes the secret ID and the JSON key used to extract the client secret value from the secret. Required when clientSecretSource is set to EXTERNAL.

Required: No

Type: SecretReference

Update requires: No interruption

ClientSecretSource

The source type of the client secret. Use MANAGED if the secret is managed by the service, or EXTERNAL if you manage the secret yourself in AWS Secrets Manager.

Required: No

Type: String

Allowed values: MANAGED | EXTERNAL

Update requires: No interruption