Kimi Code CLI now uses AWS credentials to access Amazon Bedrock models
Kimi Code CLI v2.7.0 adds a native Bedrock provider so you can use named AWS profiles or single sign-on instead of creating a separate Bedrock API key.
AI generated — machine-made illustration, not a photograph of the event.
This change reduces the time and risk of credential handling for small teams by letting the Kimi Code CLI use your existing AWS profiles or single sign-on instead of a separate API key.
What changed
Moonshot AI released v2.7.0 of the open-source Kimi Code CLI. The CLI is a coding agent that runs models and automates developer tasks. The new release adds a native Amazon Bedrock provider. That means the CLI can now authenticate to Bedrock using the standard AWS credential chain. The credential chain includes named profiles and single sign-on (SSO). Previously, you had to create and manage a separate Bedrock API key.
The AWS post used Kimi K3.1 Pro Highspeed as an example model. That model supports streaming, configurable reasoning, image input and client-side tool calling. Amazon Bedrock itself offers pay-per-token inference for many open and proprietary models, and model processing stays within the AWS data boundary.
Who this affects
This change matters if you use Kimi Code CLI and also run models on Amazon Bedrock. It is especially useful for small teams and freelancers who already use AWS and want to avoid introducing extra credentials. It is also relevant for organisations that use named AWS profiles or SSO, because those methods can now be used instead of creating a new API key to protect and rotate.
If you do not use Bedrock or you run models locally, this change does not affect you.
What it replaces and what it costs
What it replaces: the extra step of generating and storing a separate Bedrock API key for the CLI. With the native provider you can rely on the same credentials you already use for other AWS tools.
What it costs: the announcement does not change Bedrock pricing. Amazon Bedrock continues to use pay-per-token inference. The post does not state any change to the CLI pricing (Kimi Code CLI is open source) or to Bedrock fees. You should check your existing AWS billing for any costs linked to model usage.
How to connect this week (step-by-step)
- Confirm you have Kimi Code CLI v2.7.0 or later. The new native Bedrock provider is included from that release.
- Make sure your AWS credentials are already set up and working. The CLI will use the standard AWS credential chain, including named profiles or SSO. A named profile is an entry in your AWS configuration that stores a set of credentials. Single sign-on (SSO) means you authenticate through your organisation’s identity provider.
- Configure the Kimi Code CLI to use the native Bedrock provider. With v2.7.0 you can point the CLI at Bedrock and allow it to pick up your AWS profile or SSO session instead of supplying a separate Bedrock API key.
- Choose a Bedrock model. The announcement uses Kimi K3.1 Pro Highspeed as an example when you need streaming, configurable reasoning, image input or client-side tool calling. Check the model card in Bedrock to confirm which features the model supports.
- Run a simple test job to confirm authentication and basic output. Because processing stays within the AWS data boundary, verify your organisation’s data controls and logging as usual.
- After testing, consider whether any previously created Bedrock API keys are still needed. You may be able to rotate or remove them once you are confident the new setup works.
What we don't know
- The exact commands or configuration file entries to switch the CLI to the new bedrock provider are not published in the summary.
- Whether older versions of Kimi Code CLI can be upgraded in-place or require a fresh install.
- Any organisation-specific SSO or permissions steps needed to let the CLI assume a profile.
- Detailed pricing examples for running Kimi models on Bedrock.
What to do next
- Upgrade or install Kimi Code CLI to v2.7.0 or later and check your organisation’s AWS credential setup (named profiles or SSO).
- Test the new Bedrock provider with a non-critical model run, using a model card to confirm supported features and reviewing your AWS data controls.
- If tests succeed, plan to retire any separate Bedrock API keys you previously created, after confirming no workflows depend on them.
- Source: AWS Machine Learning Blog Read Full Article from AWS Machine Learning Blog
Links above go to the original publisher. Signalcraft states the consequence; it does not reproduce their text.
0 comments
No comments yet. If you have run any of this, that is the most useful thing you could add.