Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitebbdfa0

Browse files
authored
chore: document bedrock setup process foraibridge (#20956)
Documents the steps needed to setup AWS BedrockSee also:#20507---------Signed-off-by: Danny Kopping <danny@coder.com>
1 parentcaf711d commitebbdfa0

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

‎.github/.linkspector.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ignorePatterns:
2727
-pattern:"splunk.com"
2828
-pattern:"stackoverflow.com/questions"
2929
-pattern:"developer.hashicorp.com/terraform/language"
30-
-pattern:"platform.openai.com/docs/api-reference"
30+
-pattern:"platform.openai.com"
3131
-pattern:"api.openai.com"
3232
aliveStatusCodes:
3333
-200

‎docs/ai-coder/ai-bridge/setup.md‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,34 @@ Set the following when routing [Amazon Bedrock](https://coder.com/docs/reference
5858
-`CODER_AIBRIDGE_BEDROCK_MODEL` or`--aibridge-bedrock-model`
5959
-`CODER_AIBRIDGE_BEDROCK_SMALL_FAST_MODEL` or`--aibridge-bedrock-small-fast-model`
6060

61+
####Obtaining Bedrock credentials
62+
63+
1.**Choose a region** where you want to use Bedrock.
64+
65+
2.**Generate API keys** in the[AWS Bedrock console](https://us-east-1.console.aws.amazon.com/bedrock/home?region=us-east-1#/api-keys/long-term/create) (replace`us-east-1` in the URL with your chosen region):
66+
- Choose an expiry period for the key.
67+
- Click**Generate**.
68+
- This creates an IAM user with strictly-scoped permissions for Bedrock access.
69+
70+
3.**Create an access key** for the IAM user:
71+
- After generating the API key, click**"You can directly modify permissions for the IAM user associated"**.
72+
- In the IAM user page, navigate to the**Security credentials** tab.
73+
- Under**Access keys**, click**Create access key**.
74+
- Select**"Application running outside AWS"** as the use case.
75+
- Click**Next**.
76+
- Add a description like "Coder AI Bridge token".
77+
- Click**Create access key**.
78+
- Save both the access key ID and secret access key securely.
79+
80+
4.**Configure your Coder deployment** with the credentials:
81+
82+
```sh
83+
export CODER_AIBRIDGE_BEDROCK_REGION=us-east-1
84+
export CODER_AIBRIDGE_BEDROCK_ACCESS_KEY=<your-access-key-id>
85+
export CODER_AIBRIDGE_BEDROCK_ACCESS_KEY_SECRET=<your-secret-access-key>
86+
coder server
87+
```
88+
6189
###Additional providers and Model Proxies
6290

6391
AI Bridge can relay traffic to other OpenAI- or Anthropic-compatible services or model proxies like LiteLLM by pointing the base URL variables above at the provider you operate. Share feedback or follow along in the[`aibridge`](https://github.com/coder/aibridge) issue tracker as we expand support for additional providers.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp