Skip to content

feat(bucket): manage public access block configuration - #410

Open
jmeiracorbal wants to merge 1 commit into
rustfs:mainfrom
jmeiracorbal:feat/bootstrap-bucket-apis
Open

jmeiracorbal wants to merge 1 commit into
rustfs:mainfrom
jmeiracorbal:feat/bootstrap-bucket-apis

Conversation

@jmeiracorbal

Copy link
Copy Markdown

Related issues

N/A. This adds the CLI operation needed by the RustFS bootstrap integration discussed in rustfs/rustfs#997.

Context

Bootstrap workflows need a way to keep bucket-level public access blocked by default. The CLI did not expose the S3 Public Access Block operations.

Solution

Add rc bucket public-access-block get|set|remove with strict validation of all four flags, S3 API support, and an unsupported-by-default ObjectStore implementation for compatibility with other backends.

Validation

  • cargo fmt --all --check — passed.
  • cargo clippy --workspace --all-targets -- -D warnings — passed.
  • cargo test --workspace — passed (2,000 passed, 2 ignored).
  • Targeted Public Access Block API, output schema, and help tests — passed.

Impact

Adds bucket Public Access Block management to rc; existing ObjectStore implementations remain source-compatible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant