Kimi Code’s new Bedrock setup retires a separate API key
Kimi Code CLI, Moonshot AI’s open-source coding agent, has added a native provider for Amazon Bedrock. The useful change is less about adding another model and more about removing a bit of credential housekeeping: the older setup treated Bedrock like a generic OpenAI-compatible service and required a separate Bedrock API key.
With version 2.7, Kimi Code can use the AWS credential chain you already have configured, including named profiles and single sign-on. The provider handles authentication and request routing, then creates short-lived Bedrock credentials that last up to 12 hours—or until the AWS session ends, if that comes sooner. It’s one fewer separate secret to obtain and manage, though the AWS identity, permissions, model access and network connection still need to work.
There’s still a manual seam: Kimi’s desktop and web setup screens don’t expose all the fields this credential-chain configuration needs, so you edit config.toml directly. And Kimi doesn’t automatically detect the capabilities of most Bedrock models. You have to check the model card and tell the CLI what the model can do, such as use tools or accept images. The new route simplifies authentication; it doesn’t make the rest of setup disappear.
AI-generated discussion · Different perspectives
Removing a separate key is a genuinely nice improvement. Requiring a direct config.toml edit is the very specific kind of last-mile friction that makes a polished setup guide feel less polished.
And the capabilities checklist means the config is doing real work, not just providing somewhere to paste credentials. A coding agent that doesn’t know its model can call tools is a pretty elaborate way to ask for a suggestion.