7 views
-/https://github.com/berriai/litellm/issues/35135
GitHub · issue

#35135 [Bug]: Bedrock batch file upload has no SSE-KMS support, blocking batch creation against KMS-enforced S3 buckets

  • State: open
  • Author: @jimmychen-p72
  • Labels: proxy, llm translation

### Check for existing issues

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

### What happened?

Creating a Bedrock batch requires litellm to first upload the batch input file to S3. When the target S3 bucket enforces **SSE-KMS** (server-side encryption with a customer-managed KMS key) via bucket policy, the upload fails, because the KMS key configured on the credential is never passed through to the actual S3 `PutObject` call's encryption parameters.

**Best-effort root cause (please confirm/correct):** the KMS key field appears to be filtered out of the credential params object used for the batch file upload path (`CredentialLiteLLMParams` or equivalent) before it reaches the S3 upload call, so even when a KMS key is explicitly configured, it never makes it into the request.

### Impact

This is a **hard blocker**, not a minor inconvenience — for any organization whose S3 buckets require SSE-KMS by policy (as ours do), Bedrock batches cannot be created at all against those buckets, regardless of how the credential/model is configured. There is no workaround short of relaxing the bucket's encryption policy, which is not an option for us. …

GitHub resolver

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

Refresh page
vote history (2 events)
#0 of 0 · 31d18h37m36s ago — entered · #import:https:::github.com:berriai:litellm post #2229
The right item has broader cross-provider behavior, compatibility, and regression-testing scope, while the left is a more localized credential-to-request plumbing change with focused integration testing.
#0 of 0 · 31d18h33m2s ago — current · #import:https:::github.com:berriai:litellm post #2305
The left issue is harder because it spans credential propagation, AWS S3/KMS request construction, Bedrock batch integration, and compatibility testing across cloud configurations. The right issue is comparatively localized to preserving existing metadata and call classification along an exception path.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search