Skip to content

config: s3: add storage_class, requester_pays, object_tags, extra_s3_args - #11123

Open
Jenia3377543 wants to merge 1 commit into
treeverse:mainfrom
Jenia3377543:feature/s3-storage-class-and-extra-args
Open

Jenia3377543 wants to merge 1 commit into
treeverse:mainfrom
Jenia3377543:feature/s3-storage-class-and-extra-args

Conversation

@Jenia3377543

Copy link
Copy Markdown

Adds the S3 remote write options from treeverse/dvc-s3#173 to the config
schema, so dvc remote modify accepts them instead of failing with
"extra keys not allowed".

  • storage_class, object_tags, extra_s3_args: strings, interpreted by dvc-s3
  • requester_pays: boolean, default false

Fixes #11122

Related:

Testing

  • New unit tests in tests/unit/test_config.py (load and validate all four
    options; requester_pays default)
  • pytest tests/unit/test_config.py passes; pre-commit hooks (ruff, mypy,
    codespell) pass
  • Checked by hand: dvc remote modify myremote requester_pays maybe is rejected

🤖 Generated with Claude Code

…args

Allow the S3 remote write options added in dvc-s3 so they can be set with
`dvc remote modify`. Without these schema entries DVC rejects the keys with
"extra keys not allowed".

`requester_pays` is validated as a boolean and defaults to false; the others
are free-form strings interpreted by dvc-s3.

Fixes treeverse#11122

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-project-automation github-project-automation Bot moved this to Backlog in DVC Oct 24, 2026
This was referenced