Skip to content

test(admin): cover access key info CLI dispatch#236

Open
overtrue wants to merge 1 commit into
mainfrom
automation/test-gap-access-key-info
Open

test(admin): cover access key info CLI dispatch#236
overtrue wants to merge 1 commit into
mainfrom
automation/test-gap-access-key-info

Conversation

@overtrue

Copy link
Copy Markdown
Contributor

Summary

  • Add a focused CLI integration test for rc admin access-key info --json
  • Assert alias-based dispatch reaches /rustfs/admin/v3/info-access-key and preserves the returned access-key metadata in JSON output

Evidence

Recent origin/main added admin access-key info in #227. Existing coverage checked parser/help and the S3 admin client endpoint, but did not cover the CLI command wiring through alias resolution and JSON output.

Validation

  • cargo test -p rustfs-cli --test admin_access_key
  • cargo fmt --all --check
  • git diff --check
  • make pre-commit

@overtrue overtrue marked this pull request as ready for review June 20, 2026 21:15
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