Skip to content

fix: remove SessionToken from Bedrock config#275

Merged
ssncferreira merged 1 commit intomainfrom
ssncf/remove-bedrock-session-token
Apr 20, 2026
Merged

fix: remove SessionToken from Bedrock config#275
ssncferreira merged 1 commit intomainfrom
ssncf/remove-bedrock-session-token

Conversation

@ssncferreira
Copy link
Copy Markdown
Contributor

@ssncferreira ssncferreira commented Apr 17, 2026

Description

Removes SessionToken from the AWSBedrock config. The field was introduced in #265 but shouldn't have been exposed. AWS temporary credentials are short-lived and aibridge reads config once at startup with no refresh mechanism. A user configuring a session token via aibridge would have a deployment that silently breaks when credentials expire.

Users with temporary credentials should rely on the AWS SDK default credential chain instead: credential sources cannot be mixed, so all three values (access key, secret, session token) must come from outside aibridge (env vars, shared config files, IAM roles, etc.). The SDK handles credential refresh automatically.

Related to: #265
Related to: coder/coder#24346

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ssncferreira ssncferreira merged commit d474d68 into main Apr 20, 2026
5 checks passed
@ssncferreira ssncferreira deleted the ssncf/remove-bedrock-session-token branch April 20, 2026 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants