For the complete documentation index, see llms.txt. This page is also available as Markdown.

Amazon Bedrock API Key

Amazon Bedrock is a fully managed AWS service that provides access to foundation models from multiple providers (such as Anthropic Claude, Meta Llama, Amazon Nova, Amazon Titan, Mistral, and Cohere) through a unified API. Instead of a traditional API key, Amazon Bedrock uses AWS Identity and Access Management (IAM) access key credentials for authentication.

Prerequisites

Before you begin, ensure that you have the following:

  • An active AWS account with a valid payment method (Amazon Bedrock is a pay-as-you-go service).

  • Permissions in that account to create IAM users, generate access keys, and manage Amazon Bedrock model access.

  • A supported AWS region where Amazon Bedrock is available.

Configure Amazon Bedrock

1

Sign in to the AWS Management Console using your root or IAM user account.

If you don't have an AWS account, click New to AWS? Sign up and complete the sign-up process. You must provide a payment method.

2

Use the region selector in the top-right corner of the console. Popular regions for Amazon Bedrock include us-east-1, us-west-2, eu-west-1, ap-northeast-1, and ap-south-1.

Because model availability varies by region, check the Amazon Bedrock documentation for the latest list.

3

In the search bar, enter IAM, then click IAM under Services.

  1. In the IAM console, click Users, then click Create user.

  2. Enter a descriptive name for the user, such as dbsync-bedrock. Uncheck the Provide user access to the AWS Management Console checkbox, because this account is for API access only. Click Next.

4

Click Attach policies directly, then select AmazonBedrockFullAccess. Click Next.

To follow the principle of least privilege, create a custom policy that grants only the bedrock:InvokeModel and bedrock:InvokeModelWithResponseStream permissions.

5

Click Create user.

6

Click the newly created user. Then click the Security credentials tab, followed by Create access key.

  1. Select Application running outside AWS as the use case. Click Next, then click Create access key.

  2. Copy both the access key ID and the secret access key. Click Done.

7

Go to the DBSync Amazon Bedrock connector page. Enter the AWS Access Key ID, AWS Secret Access Key, and AWS Region.

Click Save Connection, then click Test Connection.

Last updated