interface ICredentialProviderConfig
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.ICredentialProviderConfig |
Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#ICredentialProviderConfig |
Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.ICredentialProviderConfig |
Python | aws_cdk.aws_bedrock_agentcore_alpha.ICredentialProviderConfig |
TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha ยป ICredentialProviderConfig |
Obtainable from
Gateway.fromApiKeyIdentity(), Gateway.fromApiKeyIdentityArn(), Gateway.fromIamRole(), Gateway.fromOauthIdentity(), Gateway.fromOauthIdentityArn()
Abstract interface for gateway credential provider configuration.
Properties
| Name | Type | Description |
|---|---|---|
| credential | Credential | The credential provider type. |
credentialProviderType
Type:
Credential
The credential provider type.
Methods
| Name | Description |
|---|---|
| grant | Grant the gateway's execution role the permissions needed for outbound authentication. |
grantNeededPermissionsToRole(gateway)
public grantNeededPermissionsToRole(gateway: IGateway): Grant
Parameters
- gateway
IGatewayโ The gateway whose role needs outbound auth permissions [disable-awslint:prefer-ref-interface].
Returns
Grant the gateway's execution role the permissions needed for outbound authentication.

.NET
Go
Java
Python
TypeScript (