Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions apps/kilocode-docs/docs/providers/bedrock.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,16 @@ Kilo Code supports accessing models through Amazon Bedrock, a fully managed serv

## Getting Credentials

You have two main options for configuring AWS credentials:
You have three options for configuring AWS credentials:

1. **AWS Access Keys (Recommended for Development):**
1. **Bedrock API Key:**
- Create a Bedrock-specific API key in the AWS Console. This is a simple service-specific authentication method.
- See the [AWS documentation on Bedrock credentials](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_bedrock.html) for instructions on creating an API key.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 CRITICAL: Invalid AWS documentation link and non-existent feature

This documentation describes a "Bedrock API Key" authentication method that does not exist in AWS Bedrock. AWS Bedrock uses standard AWS authentication methods (IAM credentials, profiles, or roles) - there is no service-specific API key.

The linked URL (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_bedrock.html) does not exist in AWS documentation.

Additionally, I found no corresponding code in the Kilo Code codebase to support a "Bedrock API Key" authentication method.

Please verify this feature exists before documenting it, or remove this section if it was added in error.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It exists and works, and that link does indeed work.

2. **AWS Access Keys (Recommended for Development):**
- Create an IAM user with the necessary permissions (at least `bedrock:InvokeModel`).
- Generate an access key ID and secret access key for that user.
- _(Optional)_ Create a session token if required by your IAM configuration.
2. **AWS Profile:**
3. **AWS Profile:**
- Configure an AWS profile using the AWS CLI or by manually editing your AWS credentials file. See the [AWS CLI documentation](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html) for details.

## Supported Models
Expand Down Expand Up @@ -75,6 +78,8 @@ Refer to the [Amazon Bedrock documentation](https://docs.aws.amazon.com/bedrock/
1. **Open Kilo Code Settings:** Click the gear icon (<Codicon name="gear" />) in the Kilo Code panel.
2. **Select Provider:** Choose "Bedrock" from the "API Provider" dropdown.
3. **Select Authentication Method:**
- **Bedrock API Key:**
- Enter your Bedrock API key directly. This is the simplest setup option.
- **AWS Credentials:**
- Enter your "AWS Access Key" and "AWS Secret Key."
- (Optional) Enter your "AWS Session Token" if you're using temporary credentials.
Expand Down