Skip to content

Bedrock Agentcore Control  >  Structures  >  MicrosoftOauth2ProviderConfigInput

MicrosoftOauth2ProviderConfigInput

Structure Class

MicrosoftOauth2ProviderConfigInput dataclass

Input configuration for a Microsoft OAuth2 provider.

Attributes

client_id instance-attribute
client_id: str

The client ID for the Microsoft OAuth2 provider.

client_secret class-attribute instance-attribute
client_secret: str = field(repr=False, default='')

The client secret for the Microsoft OAuth2 provider.

client_secret_config class-attribute instance-attribute
client_secret_config: SecretReference | None = None

A reference to the Amazon Web Services 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.

client_secret_source class-attribute instance-attribute
client_secret_source: SecretSourceType | None = None

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 Amazon Web Services Secrets Manager.

tenant_id class-attribute instance-attribute
tenant_id: str | None = None

The Microsoft Entra ID (formerly Azure AD) tenant ID for your organization. This identifies the specific tenant within Microsoft's identity platform where your application is registered.