Answer: Claude Code uses the default AWS SDK credential chain, so you can configure credentials with `aws configure`, access key environment variables, an SSO profile, AWS Management Console credentials via `aws login`, or an Amazon Bedrock API key exported as `AWS_BEARER_TOKEN_BEDROCK`. Status: Confirmed Entry: tool/claude-code/install-and-setup/configure-aws-credentials Revision: 2 Digest: sha256:6a88d538ee8900f6 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:03:13Z Last changed: 2026-11-17T12:22:19Z (console login CLI version: — → 2.32.0) Last verified: 2026-11-20T12:17:56Z Next check: 2026-11-21T12:17:56Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of credential chain | default AWS SDK credential chain | [1] | 2026-11-20 aws configure | aws configure | [1] | 2026-11-20 access key env var | AWS_ACCESS_KEY_ID | [1] | 2026-11-20 session token env var | AWS_SESSION_TOKEN | [1] | 2026-11-20 SSO profile env var | AWS_PROFILE | [1] | 2026-11-20 Bedrock API key env var | AWS_BEARER_TOKEN_BEDROCK | [1] | 2026-11-20 console login CLI version | 2.32.0 | [1] | 2026-11-20 console session validity | 12 hours | [1] | 2026-11-20 Sources: [1] Anthropic. "Claude Code on Amazon Bedrock". https://code.claude.com/docs/en/amazon-bedrock.md Role: primary. Accessed: 2026-11-20T12:17:56Z Quote: "Claude Code uses the default AWS SDK credential chain." (Supports: credential chain) Quote: "Run `aws configure` and enter your access key ID, secret access key, and default region when prompted:" (Supports: aws configure) Quote: "export AWS_ACCESS_KEY_ID=your-access-key-id" (Supports: access key env var) Quote: "`AWS_SESSION_TOKEN` is required only with temporary credentials" (Supports: session token env var) Quote: "export AWS_PROFILE=your-profile-name" (Supports: SSO profile env var) Quote: "export AWS_BEARER_TOKEN_BEDROCK=your-bedrock-api-key" (Supports: Bedrock API key env var) Quote: "The `aws login` command requires AWS CLI 2.32.0 or later." (Supports: console login CLI version) Quote: "The session is valid for up to 12 hours, after which you run `aws login` again." (Supports: console session validity) Published: 2026-11-20T03:13:32Z Snapshot SHA-256: bf97c0351fbb18b8a8435014287aeb76bc77fa1ba950656d3bbc83d49fed5f7f (captured 2026-11-17T12:22:20Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-17T12:22:19Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:17:56Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:17:56Z Last attempt: 2026-11-20T12:17:56Z Notes and limitations: Extracted automatically from a single official source (section "2. Configure AWS credentials"). Related: https://latestn.com/tool/claude-code/install-and-setup/configure-claude-code-for-foundry How do I configure Claude Code to use Microsoft Foundry? https://latestn.com/tool/claude-code/install-and-setup/configure-claude-platform-aws How do I configure Claude Code to use Claude Platform on AWS? https://latestn.com/tool/claude-code/install-and-setup/enable-installed-plugin How do I enable an installed Claude Code plugin in my session? https://latestn.com/tool/claude-code/install-and-setup/anthropic-marketplace-names-and-repos What are the names of Anthropic's official and community plugin marketplaces for Claude Code, and which GitHub repositories are they? https://latestn.com/tool/claude-code/install-and-setup/aws-gateway-prerequisites What prerequisites and environment variables do I need before deploying Claude apps gateway on AWS? https://latestn.com/tool/claude-code/install-and-setup/chrome-prerequisites What are the prerequisites for using Claude Code with Chrome? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-17T12:22:19Z | changed | console login CLI version: — → 2.32.0 | [1] 2026-11-17T12:22:19Z | changed | SSO profile env var: — → AWS_PROFILE | [1] 2026-11-17T12:22:19Z | changed | session token env var: — → AWS_SESSION_TOKEN | [1] 2026-11-17T12:22:19Z | changed | access key env var: — → AWS_ACCESS_KEY_ID | [1] 2026-11-17T12:22:19Z | changed | resolve timeout: 60 seconds → — | [1] 2026-11-17T12:22:19Z | changed | console login: aws login → — | [1] 2026-11-17T12:22:19Z | changed | SSO profile: AWS_PROFILE → — | [1] 2026-11-17T12:22:19Z | changed | access key env vars: AWS_ACCESS_KEY_ID → — | [1] 2026-11-13T03:03:13Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/install-and-setup/configure-aws-credentials/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/install-and-setup/configure-aws-credentials POST: https://latestn.com/dispute/tool/claude-code/install-and-setup/configure-aws-credentials with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/install-and-setup/configure-aws-credentials?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure AWS credentials for Claude Code on Amazon Bedrock? Revision 2, last verified 2026-11-20T12:17:56Z. https://latestn.com/tool/claude-code/install-and-setup/configure-aws-credentials (accessed 2026-11-21T09:56:51Z). @misc{LatestN_tool_claude_code_install_and_setup_configure_aws_credentials_r2, title = {How do I configure AWS credentials for Claude Code on Amazon Bedrock?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/install-and-setup/configure-aws-credentials}}, note = {Revision 2; digest sha256:6a88d538ee8900f6; last verified 2026-11-20T12:17:56Z; accessed 2026-11-21T09:56:51Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/install-and-setup/configure-aws-credentials