Skip to content

AWS credential chain support for Kimi models on Amazon Bedrock #3965

Closed

Description

@athewsey

What feature would you like to see?

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

  1. added
    enhancement
    on Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions