crates/e2e_test/src/policy/README.md
This directory contains comprehensive end-to-end tests for AWS IAM policy variables in RustFS.
The tests cover the following AWS policy variable scenarios:
${aws:username}prefix-${aws:username}-suffix${${aws:username}-test}awscurl utility for admin API calls# Run all policy tests with comprehensive reporting
# Note: Requires a RustFS server running on localhost:9000
cargo test -p e2e_test policy::test_runner::test_policy_full_suite -- --nocapture --ignored --test-threads=1
# Run only critical policy tests
cargo test -p e2e_test policy::test_runner::test_policy_critical_suite -- --nocapture --ignored --test-threads=1
# From the project root directory
cargo test -p e2e_test policy:: -- --nocapture --ignored --test-threads=1