8 views
-/https://github.com/berriai/litellm/issues/33220
GitHub · issue

#33220 [Feature]: Support AWS IAM Outbound Identity Federation as an OIDC identity provider (oidc/aws/)

  • State: open
  • Author: @philipbrembeck
  • Labels: enhancement, proxy, llm translation

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### The Feature

Add `aws` to the OIDC identity providers in `get_secret` (`litellm/secret_managers/main.py`), so `oidc/aws/<audience>` mints a signed JWT via `sts:GetWebIdentityToken`:

```yaml litellm_params: model: azure/gpt-5.5 api_base: https://my-resource.openai.azure.com/ api_version: "v1" azure_ad_token: "oidc/aws/api://AzureADTokenExchange" ```

AWS shipped IAM Outbound Identity Federation at re:Invent 2025, every account now has a public OIDC issuer, and `GetWebIdentityToken` signs a JWT with the IAM role. Any OIDC-compliant IdP can verify it.

Implementation is one `elif` branch mirroring the existing `google` one. No new dependency (boto3 is already there for Bedrock), lazy-imported for `check-import-safety`, reusing `oidc_cache`.

### Motivation, pitch

LiteLLM on EC2 talking to Azure OpenAI still needs a static key or client secret, every other host already has a keyless path. EC2 was the exception only because it had no OIDC issuer, AWS fixed it, now LiteLLM just needs to call the API.

**Verified working** today via a runtime monkeypatch of…

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d18h1m57s ago — entered · #import:https:::github.com:berriai:litellm post #2813
The right issue is harder because it requires tracing database-client lifecycle across success and failure paths, preserving async behavior, and adding reliable regression coverage; the left is a localized provider branch using existing dependencies and caching.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search