The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
show bedrock, sagemaker creds in verbose mode
Ishaan Jaffb4ba12e22cbe
diff --git a/litellm/llms/base_aws_llm.py b/litellm/llms/base_aws_llm.pyindex 6b298d5be14..8de42eda739 100644--- a/litellm/llms/base_aws_llm.py+++ b/litellm/llms/base_aws_llm.py@@ -77,6 +77,28 @@ class BaseAWSLLM(BaseLLM):aws_sts_endpoint,) = params_to_check+ verbose_logger.debug(+ "in get credentials\n"+ "aws_access_key_id=%s\n"+ "aws_secret_access_key=%s\n"+ "aws_session_token=%s\n"+ "aws_region_name=%s\n"+ "aws_session_name=%s\n"+ "aws_profile_name=%s\n"+ "aws_role_name=%s\n"+ "aws_web_identity_token=%s\n"+ "aws_sts_endpoint=%s",+ aws_access_key_id,+ aws_secret_access_key,+ aws_session_token,+ aws_region_name,+ aws_session_name,+ aws_profile_name,+ aws_role_name,+ aws_web_identity_token,+ aws_sts_endpoint,+ )+### CHECK STS ###if (aws_web_identity_token is not None