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.
Add OIDC support for Modal cloud bucket mounts
Modal supports
CloudBucketMount(oidc_auth_role_arn=...), but the Agents SDKModalCloudBucketMountStrategyonly 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:
The role ARN should pass through ModalCloudBucketMountConfig into:
OIDC should be mutually exclusive with secret_name and inline credentials. Existing Secret-backed behavior should remain unchanged.