Hi Cursor team,
Right now, the only way to integrate Bedrock into Cursor is by supplying AWS access key + secret key, or setting up a temporary IAM role. While this works, it comes with some downsides:
- Security: Long-lived IAM credentials are harder to manage and pose risks if leaked.
- Developer experience: Managing IAM roles and external IDs is non-trivial for frontend-focused workflows.
- Least privilege: With the new Bedrock API Key, we can tightly scope model access, without broader AWS permissions.
Suggested improvement
Amazon recently added native API Key support for Bedrock, which:
- Allows calling models like Claude via
Authorization: Bearer <key>; - Supports fine-grained access control (by model, user, context);
- Doesn’t require managing AWS credentials or roles.
Would love to see Cursor adopt this – maybe allow pasting the Bedrock API Key directly into the “Models → API Keys” UI, similar to how OpenAI keys are handled.
Thanks!