{"name":"AWS_BEARER_TOKEN_BEDROCK","slug":"aws-bearer-token-bedrock","family":"env","title":"Environment variables","noun":"environment variable","description":"Amazon Bedrock API key for authentication (see [Amazon Bedrock API keys](https:\/\/aws.amazon.com\/blogs\/machine-learning\/accelerate-ai-development-with-amazon-bedrock-api-keys\/))","description_source":"docs","described_by":{"doc":"claude-code\/env-vars","title":"Environment variables"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":149,"mined_builds":149,"first_cited":{"version":"2.1.96","released_at":"2026-04-08 04:32:44","spans":2}},"aliases":[],"entries":[{"version":"2.1.284","anchor":"bedrockvertex-model-access-probe-results-are-cached-on-disk","heading":"Bedrock and Vertex model-access checks are remembered for 15 minutes","line":"A successful check that your cloud provider gives you access to a model is now saved on disk and reused for 15 minutes","released_at":"2026-09-28 17:11:59","reason":"found in this entry's text"},{"version":"2.1.96","anchor":"bedrock-bearer-token-authentication-streamlined","heading":"Bedrock bearer token authentication streamlined","line":null,"released_at":"2026-04-08 04:32:44","reason":"found in this entry's text"},{"version":"2.1.96","anchor":"notes","heading":"","line":null,"released_at":"2026-04-08 04:32:44","reason":"found in this entry's text"}],"entries_total":3,"docs":[{"source":"claude-code","path":"env-vars","title":"Environment variables","documented":true},{"source":"api","path":"build-with-claude\/claude-on-amazon-bedrock-legacy","title":"claude-on-amazon-bedrock-legacy","documented":false},{"source":"claude-code","path":"amazon-bedrock","title":"Claude Code on Amazon Bedrock","documented":false},{"source":"claude-code","path":"llm-gateway-connect","title":"Connect Claude Code to an LLM gateway","documented":false},{"source":"claude-code","path":"mcp","title":"Connect Claude Code to tools via MCP","documented":false},{"source":"claude-docs","path":"third-party\/claude-desktop\/bedrock","title":"Deploy Claude Desktop on 3P with Amazon Bedrock","documented":false}],"docs_total":6,"gates":[],"related":[{"name":"AWS_ACCESS_KEY_ID","slug":"aws-access-key-id","description":"gh, aws, gcloud, bq and gsutil get placeholder credentials so they authenticate through the proxy instead of failing."},{"name":"AWS_CA_BUNDLE","slug":"aws-ca-bundle","description":"SSL certificate error message now lists the specific env var to check per tool"},{"name":"AWS_CONFIG_FILE","slug":"aws-config-file","description":"AWS SSO profile logins resolve faster via a direct fast path, falling back if anything unusual is configured."},{"name":"AWS_CONTAINER_CREDENTIALS_FULL_URI","slug":"aws-container-credentials-full-uri","description":"Claude Code's saved check that a Bedrock model is reachable is now tied to your AWS profile, keys, role and credential settings"},{"name":"AWS_CONTAINER_CREDENTIALS_RELATIVE_URI","slug":"aws-container-credentials-relative-uri","description":"Stand-in credential values for gh, AWS and gcloud are defined, with substitution rules unsettled."},{"name":"AWS_DEFAULT_REGION","slug":"aws-default-region","description":"Bedrock no longer refuses to start when no region or base URL is configured."},{"name":"AWS_ENDPOINT_URL","slug":"aws-endpoint-url","description":"AWS and Google custom endpoint variables are now forwarded and scrubbed deliberately."},{"name":"AWS_ENDPOINT_URL_BEDROCK","slug":"aws-endpoint-url-bedrock","description":"AWS and Google custom endpoint variables are now forwarded and scrubbed deliberately."},{"name":"AWS_ENDPOINT_URL_BEDROCK_RUNTIME","slug":"aws-endpoint-url-bedrock-runtime","description":"AWS and Google custom endpoint variables are now forwarded and scrubbed deliberately."},{"name":"AWS_ENDPOINT_URL_STS","slug":"aws-endpoint-url-sts","description":"AWS and Google custom endpoint variables are now forwarded and scrubbed deliberately."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/aws-bearer-token-bedrock","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}