openai / openai/openai-agents-python

Add native OIDC authentication support to Modal cloud bucket mounts

Open
#4,705 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature:sandboxes
Dominant language
Python
Stars
29.6k
Forks
4.8k
Avg merge
1d 20h
Merged PRs (30d)
123

Description

Add OIDC support for Modal cloud bucket mounts

Modal supports CloudBucketMount(oidc_auth_role_arn=...), but the Agents SDK ModalCloudBucketMountStrategy only supports static credentials or a named Modal Secret.

Some deployments cannot create long-lived AWS keys and instead require Modal to assume an IAM role through OIDC.

Could the adapter support:

ModalCloudBucketMountStrategy(
    oidc_auth_role_arn="arn:aws:iam::123456789012:role/modal-s3-reader",
)

The role ARN should pass through ModalCloudBucketMountConfig into:

modal.CloudBucketMount(
    ...,
    oidc_auth_role_arn=config.oidc_auth_role_arn,
)

OIDC should be mutually exclusive with secret_name and inline credentials. Existing Secret-backed behavior should remain unchanged.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with ModalCloudBucketMountStrategy and ModalCloudBucketMountConfig, then trace how their existing secret_name and inline-credential options reach modal.CloudBucketMount. Add the OIDC role ARN path while preserving Secret-backed behavior and enforcing mutual exclusion with the other credential modes; verify the relevant existing adapter tests and add coverage for the new combinations.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
authentication, cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
74/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.