Skip to content

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]

fix(tests): remove test_oidc_circle_v1_with_amazon_fips that depends on external infra

yuneng-jiang0fbfb8e77251
diff --git a/tests/litellm_utils_tests/test_secret_manager.py b/tests/litellm_utils_tests/test_secret_manager.py
index b609e9ad25f..7569c673ece 100644
--- a/tests/litellm_utils_tests/test_secret_manager.py
+++ b/tests/litellm_utils_tests/test_secret_manager.py
@@ -168,27 +168,6 @@ def test_oidc_circle_v1_with_amazon():
)
- os.environ.get("CIRCLE_OIDC_TOKEN") is None,
- reason="Cannot run without being in CircleCI Runner",
-)
-def test_oidc_circle_v1_with_amazon_fips():
- # The purpose of this test is to validate that we can assume a role in a FIPS region
-
- # TODO: This is using ai.moda's IAM role, we should use LiteLLM's IAM role eventually
- aws_role_name = "arn:aws:iam::335785316107:role/litellm-github-unit-tests-circleci-v1-assume-only"
- aws_web_identity_token = "oidc/circleci/"
-
- bllm = BedrockConverseLLM()
- creds = bllm.get_credentials(
- aws_region_name="us-west-1",
- aws_web_identity_token=aws_web_identity_token,
- aws_role_name=aws_role_name,
- aws_session_name="assume-v1-session-fips",
- aws_sts_endpoint="https://sts-fips.us-west-1.amazonaws.com",
- )
-
-
def test_oidc_env_variable():
# Create a unique environment variable name
env_var_name = "OIDC_TEST_PATH_" + uuid4().hex