Skip to main content
Configure AWS Bedrock to access Amazon’s foundation models through Braintrust.

Authentication

Choose between two authentication methods:
  • IAM credentials: Use AWS access key and secret access key for authentication
  • API key: Use Amazon Bedrock API key (bearer token) for authentication

Configuration

FieldDescription
Region
String
Required. The AWS region where your Bedrock models are hosted. Documentation
Authentication type
iam_credentials | api_key
Optional. Choose between IAM credentials or API key authentication. Default is iam_credentials.
API base
URL String
Optional. Custom API endpoint URL if using a different Bedrock endpoint. Default uses AWS Bedrock default endpoints.

IAM credentials

FieldDescription
Access key
String
Required. Your AWS access key ID for authentication. Documentation
Secret
String
Required. Your AWS secret access key, entered separately in the secret field. Documentation
Session token
String
Optional. Temporary session token for AWS STS (Security Token Service) authentication. Documentation

API key

FieldDescription
Secret
String
Required. Your Amazon Bedrock API key (bearer token), entered separately in the secret field.

Models

Popular AWS Bedrock models include:
  • Claude 3.5 Sonnet anthropic.claude-3-5-sonnet-20241022-v2:0
  • Claude 3 Haiku anthropic.claude-3-haiku-20240307-v1:0
  • Llama 3.1 70B meta.llama3-1-70b-instruct-v1:0
  • Titan Text amazon.titan-text-express-v1

Additional resources