From f32f8ebf70029b069b8069dd9acb02945daabec8 Mon Sep 17 00:00:00 2001 From: mubashir1osmani Date: Tue, 10 Feb 2026 02:22:21 -0500 Subject: [PATCH] fix(bedrock): accept AWS_CONTAINER_CREDENTIALS_FULL_URI in validate_environment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ECS/Fargate supports both RELATIVE_URI and FULL_URI credential delivery. Only RELATIVE_URI was checked, causing false "missing keys" reports for FULL_URI setups even though boto3 can authenticate fine. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- litellm/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/utils.py b/litellm/utils.py index 733baeadd84..9ae1e9cbb2c 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -6146,6 +6146,7 @@ def validate_environment( # noqa: PLR0915 or "AWS_PROFILE" in os.environ or "AWS_WEB_IDENTITY_TOKEN_FILE" in os.environ or "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI" in os.environ # ECS task role + or "AWS_CONTAINER_CREDENTIALS_FULL_URI" in os.environ # ECS/Fargate full URI credential delivery ): keys_in_environment = True else: