You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AWS credential chain support for Kimi models on Amazon Bedrock #3965
For transparency up-front, I currently work at AWS. 😄
Now that K3 is available on Amazon Bedrock, is there any chance Kimi Code could be extended to support the AWS credential chain directly, rather than requiring an API key?
With this feature, users who have are signed in to AWS through an SSO or have an AWS Profile configured could have Kimi Code use that session to call Kimi on Amazon Bedrock - instead of needing to set up and manage a separate API key.
Additional information
As detailed in the docs, AWS generally suggests to avoid long-lived API keys and prefer short-term credentials. It's possible to sign requests to Bedrock with standard AWS credentials (as shown in the aws-bedrock-token-generator library) with no need to set up a dedicated Bedrock API key.
Ideally, like Codex does, Kimi Code could support directly using AWS CLI/SDK credential providers when calling Bedrock (maybe with configurable AWS Region and Profile name in the config.toml) - instead of an API key.
As illustrated in this blog post, it is already possible for customers to connect Kimi Code to Bedrock inference... But they currently have to choose between setting up a long-term API key (not recommended) or keep manually rotating a virtual/short-lived key (not convenient).
Activity