Delete thousands to millions of S3 objects using batch deletion and parallel workers. Built in Rust with safety features and configurable filtering.
This demo shows Express One Zone deleting approximately 34,000 objects per second from a set of 100,000 objects, and deleting approximately 2,700 files per second from a set of 100,000 files with versioning enabled.
Click to expand to view table of contents
- Overview
- Features
- High performance
- Powerful filtering
- S3 versioning
- S3 Express One Zone support
- User-defined metadata filtering
- Tagging filtering
- Safety first
- Optimistic locking
- Robust retry logic
- Low memory usage
- Rate limiting
- Easy to use
- Flexibility
- Observability
- Lua scripting support
- User-defined filter callback
- User-defined event callback
- Library-first design
- Requirements
- Installation
- Usage
- Detailed information
- Advanced options
- All command line options
- CI/CD Integration
- Library API
- About testing
- Fully AI-generated (human-verified) software
- Security assumptions
- Recommendation
- Scope
- Non-Goals
- License
s3rm is a fast deletion tool for Amazon S3 with built-in safety features.
It serves as a purpose-built alternative to aws s3 rm --recursive, offering batch deletion, parallel workers, and safety features that the AWS CLI lacks.
Whether you're cleaning up terabytes of old logs, enforcing data retention policies, or purging versioned buckets, s3rm uses a streaming pipeline that keeps memory usage constant regardless of object count.
All features are available as a Rust library (s3rm_rs crate), so you can integrate S3 deletion into your own applications programmatically.
Deleting millions of S3 objects is a surprisingly painful problem:
aws s3 rm --recursivedeletes objects one at a time in a single thread.- S3 Lifecycle Policies are free but execution timing is not guaranteed, and they offer no filtering beyond prefix and tags.
s3rm solves these problems with batch deletion, parallel workers, comprehensive filtering, and safety features.
ObjectLister → [Filters] → ObjectDeleter Workers → Terminator
↓ ↓ ↓ ↓
Parallel Regex, size, Batch API calls Drains output
pagination time, Lua, with retry logic and closes
metadata, tags the pipeline
Objects stream through the pipeline one stage at a time. The lister fetches keys from S3 using parallel pagination, filters narrow down which objects to delete, and a pool of concurrent workers executes batch deletions against the S3 API. Nothing is loaded into memory all at once — s3rm handles buckets of any size with constant memory usage.
s3rm is implemented in Rust and uses the AWS SDK for Rust, which supports multithreaded asynchronous I/O.
The default configuration (--worker-size 16, --batch-size 200) achieves approximately 3,500 objects per second for standard S3 buckets, which approaches the practical throughput guideline of Amazon S3. Express One Zone directory buckets can achieve approximately 34,000 deletions per second with --worker-size 256 and --allow-parallel-listings-in-express-one-zone.
- Batch deletion using S3's
DeleteObjectsAPI — up to 1,000 objects per request - Parallel workers — up to 65,535 concurrent deletion workers
- Parallel listing — concurrent
ListObjectsV2pagination for faster enumeration - Streaming pipeline — constant memory usage regardless of the number of objects
s3rm offers sophisticated object selection inherited from s3sync:
- Regular expression-based key filtering
- Content-Type filtering with regex
- Size constraints (smaller/larger than a threshold)
- Modification time constraints (before/after a timestamp)
- Custom filtering with a Lua script or user-defined Rust callback
The regular expression syntax is the same as fancy_regex, which supports lookaround features.
All filters are combined with logical AND — an object must pass every active filter to be deleted.
S3 versioned buckets store multiple versions of each object. s3rm handles all scenarios:
- Default behavior — creates delete markers (objects appear deleted but previous versions are preserved)
--delete-all-versions— permanently removes every version of matching objects, including delete markers--keep-latest-only— retains only the latest version of each object, deleting all older versions (requires--delete-all-versions)--filter-delete-marker-only— deletes only delete markers, leaving all object versions intact (requires--delete-all-versions)
s3rm supports Amazon S3 Express One Zone, the high-performance, single-Availability Zone storage class designed for latency-sensitive workloads.
s3rm automatically detects Express One Zone directory buckets (by the --x-s3 bucket name suffix) and adjusts its behavior:
- Parallel listing is disabled by default for Express One Zone, because parallel listing may return in-progress multipart upload objects in this storage class.
- You can re-enable parallel listing with
--allow-parallel-listings-in-express-one-zoneif your use case allows it. - The
s3express:CreateSessionpermission is included in the required permissions.
You can filter objects based on user-defined metadata.
Example: --filter-include-metadata-regex 'key1=(value1|xxx),key2=value2', --filter-exclude-metadata-regex 'key1=(value1|xxx),key2=value2'
Note: When using this option, additional API calls may be required to get the metadata of each object.
You can filter objects based on tags. This crate supports lookaround features.
For example, '^(?!.*&test=true).*stage=first' can be used to filter objects that do not contain test=true and that contain stage=first in the tags.
You can create regular expressions that combine multiple logical conditions with lookaround features — reducing the need for Lua scripts to filter objects with complex patterns.
Note: When using this option, additional API calls are required to get the tags of each object.
Unlike most S3 deletion tools, s3rm is designed with safety as a first-class feature:
- Dry-run mode (
-d/--dry-run) — run the full pipeline (listing, filtering) but simulate deletions without making actual S3 API calls. Each object that would be deleted is logged with a[dry-run]prefix, and summary statistics are displayed. - Confirmation prompt — before any destructive operation, s3rm displays the target path with colored text and requires the full word "yes" to proceed. Abbreviated responses like "y" are rejected.
- Max-delete threshold (
--max-delete N) — set a hard limit on how many objects can be deleted in a single run. The pipeline cancels gracefully once the threshold is reached. - Force flag (
-f/--force) — skip confirmation prompts for scripted or CI/CD use. - Non-TTY detection — automatically disables interactive prompts when running in non-interactive environments (CI/CD pipelines, cron jobs).
If you use s3rm for the first time, use the --dry-run option to preview the operation.
With --if-match, s3rm uses each object's own ETag (obtained during listing) to include the If-Match header in deletion requests.
This prevents race conditions — if another process modifies an object after s3rm listed it, the deletion is skipped rather than removing an object that has changed.
This is the same optimistic locking mechanism available in s3sync.
s3rm uses two layers of retry:
- AWS SDK retries — the AWS SDK for Rust automatically retries transient API failures (5xx, throttling) with exponential backoff. Configured via
--aws-max-attemptsand--initial-backoff-milliseconds. - Batch partial-failure fallback — when a
DeleteObjectsbatch request partially fails, s3rm classifies each failed key by error code. Keys that failed with a retryable error (InternalError,SlowDown,ServiceUnavailable,RequestTimeout) are retried individually using theDeleteObjectAPI. This fallback is controlled by--force-retry-count(default: 0, disabled).
Non-retryable errors (e.g., AccessDenied) are logged and skipped immediately.
For more information, see Retry logic detail.
Memory usage is low and does not depend on the number of objects. The streaming pipeline processes objects as they flow through — nothing is loaded into memory all at once. s3rm can handle buckets with billions of objects without increasing memory consumption.
With --rate-limit-objects, you can cap deletion throughput in objects per second.
This is useful to avoid S3 throttling (SlowDown responses) or to control API costs.
s3rm is designed to be easy to use. The default settings work for most scenarios without additional tuning.
For example, in an IAM role environment, the following command will preview all objects that would be deleted:
s3rm --dry-run s3://bucket-name/prefixAnd the following command will delete them with confirmation:
s3rm s3://bucket-name/prefixs3rm is designed to adapt to a wide range of deletion scenarios:
- 12 CLI filter options plus programmable Lua/Rust filter callbacks — regex on keys, content-type, user-defined metadata, and tags; size thresholds; modification time ranges; plus Lua scripting callbacks. See Filtering order for the complete list.
- S3-compatible services (deprecated, as-is) —
--target-endpoint-urland--target-force-path-styleremain available for use with MinIO, Wasabi, Cloudflare R2, and other S3-compatible storage. The functionality is provided as-is with no testing, no compatibility guarantees, and no fixes for issues specific to non-AWS backends. See Custom endpoint. - S3 Express One Zone — automatically detects Express One Zone directory buckets and adjusts listing behavior accordingly. See S3 Express One Zone support.
- CLI and library — use s3rm as a standalone CLI tool or embed it as a Rust library in your own applications with custom filter and event callbacks.
- Configurable everything — worker count (1 to 65,535), batch size (1 to 1,000), retry attempts, rate limiting, timeouts, parallel listing depth, and more. All options can be set via CLI flags or environment variables.
- Cross-platform — pre-built binaries for Linux (glibc and musl), Windows, and macOS on both x86_64 and ARM64.
- Progress bar — real-time display of objects deleted, bytes reclaimed, and deletion rate (using indicatif)
- Configurable verbosity — from silent (
-qq) to debug (-vvv) - JSON logging (
--json-tracing, requires--force) — structured logs for integration with log aggregation systems - Event callbacks — receive real-time deletion events via Lua scripts or Rust callbacks
- Colored output — ANSI colors for improved readability (automatically disabled in non-TTY environments)
You can use a Lua (5.4) script to implement custom filtering and event handling.
--filter-callback-lua-script and --event-callback-lua-script options are available for this purpose.
Lua is widely recognized as a fast scripting language. The Lua engine is embedded in s3rm, so you can use Lua scripts without any additional dependencies.
By default, Lua scripts run in safe mode, so they cannot use Lua's OS or I/O library functions.
If you want to allow more Lua libraries, you can use --allow-lua-os-library or --allow-lua-unsafe-vm options.
Lua scripting support is included by default. To build without it, use cargo build --release --no-default-features.
Example Lua filter script (my_filter.lua):
-- Return true to delete the object, false to skip it.
-- The 'obj' table has fields: key, size, last_modified, version_id,
-- e_tag, is_latest, is_delete_marker
function filter(obj)
-- Delete only .tmp files larger than 1 KB
return string.find(obj.key, "%.tmp$") ~= nil and obj.size > 1024
ends3rm --filter-callback-lua-script my_filter.lua --force s3://my-bucket/data/If you are familiar with Rust, you can use UserDefinedFilterCallback to implement custom filtering logic via the library API.
Thanks to Rust's clear compiler error messages and robust language features, even software engineers unfamiliar with the language can implement it easily.
To use UserDefinedFilterCallback, implement the FilterCallback trait.
use async_trait::async_trait;
use s3rm_rs::types::filter_callback::FilterCallback;
use s3rm_rs::types::S3Object;
use anyhow::Result;
struct MyFilter;
#[async_trait]
impl FilterCallback for MyFilter {
async fn filter(&mut self, object: &S3Object) -> Result<bool> {
// Return true to delete, false to skip
Ok(object.key().ends_with(".tmp"))
}
}If you are familiar with Rust, you can use UserDefinedEventCallback to implement custom event handling logic, such as logging, monitoring, or custom actions during deletion operations.
To use UserDefinedEventCallback, implement the EventCallback trait.
use async_trait::async_trait;
use s3rm_rs::types::event_callback::{EventCallback, EventData};
struct MyEventHandler;
#[async_trait]
impl EventCallback for MyEventHandler {
async fn on_event(&mut self, event: EventData) {
println!("Event: {:?}, Key: {:?}", event.event_type, event.key);
}
}s3rm is designed as a library first. The CLI binary is a thin wrapper over the s3rm library.
All CLI features are available programmatically through the s3rm_rs crate.
This means you can:
- Integrate S3 bulk deletion into your own Rust applications
- Register custom filter and event callbacks programmatically
- Build custom deletion workflows with full async/await support
- x86_64 Linux (kernel 3.2 or later)
- ARM64 Linux (kernel 4.1 or later)
- Windows 11 (x86_64, aarch64)
- macOS 11.0 or later (aarch64, x86_64)
All features are tested on the above platforms.
s3rm is distributed as a single binary with no dependencies (except glibc), so it can be easily run on the above platforms. Linux musl statically linked binary is also available.
AWS credentials are required. s3rm supports all standard AWS credential mechanisms:
- Environment variables (
AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY) - AWS credentials file (
~/.aws/credentials) - AWS config file (
~/.aws/config) with profiles - IAM instance roles (EC2, ECS, Lambda)
- SSO/federated authentication
For more information, see SDK authentication with AWS.
Download the latest binary from GitHub Releases.
s3rm requires Rust 1.94.1 or later.
# Clone the repository
git clone https://github.com/nidor1998/s3rm-rs.git
cd s3rm-rs
# Build release binary
cargo build --release
# The binary is at ./target/release/s3rmLua scripting support is included by default. To build without it:
cargo build --release --no-default-featuress3rm can be used as a Rust library. The s3rm CLI is a very thin wrapper over the s3rm library. All CLI features are available in the library.
Add to your Cargo.toml:
[dependencies]
s3rm-rs = "1"See Library API for usage examples.
AWS credentials are required to use s3rm. IAM Roles, AWS CLI Profile, environment variables, etc. are supported. By default, s3rm obtains credentials from many locations (IAM Roles, environment variables, etc.).
Region is required. It can be specified in the profile, environment, or command line options.
A prefix is optional. If not specified, the entire bucket will be targeted.
If you specify a prefix, s3rm doesn't automatically add a trailing slash.
For example, if you specify s3://bucket-name/prefix, s3rm will target objects whose keys start with prefix (including prefix/foo and prefixbar).
If you specify s3://bucket-name/prefix/, only objects under the prefix/ directory are targeted.
If you use s3rm for the first time, you should use the --dry-run option to preview the operation.
For all options, see s3rm --help.
The simplest usage — delete all objects under a given S3 prefix:
s3rm s3://my-bucket/logs/2023/You'll be asked to confirm before any objects are deleted:
WARNING: All objects matching prefix s3://my-bucket/logs/2023/ will be deleted.
Use --dry-run to preview which objects would be deleted without actually removing them.
Type 'yes' to confirm deletion:
Preview exactly what would happen without deleting anything:
s3rm --dry-run s3://my-bucket/logs/2023/Each object that would be deleted is logged at info level with a [dry-run] prefix, and summary statistics are displayed at the end.
Skip the confirmation prompt for automated use:
s3rm --force s3://my-bucket/temp/Delete only .tmp files:
s3rm --filter-include-regex '.*\.tmp$' --force s3://my-bucket/data/Exclude certain files from deletion:
s3rm --filter-exclude-regex '.*\.keep$' --force s3://my-bucket/data/Delete objects smaller than 1 KB (likely empty or corrupt):
s3rm --filter-smaller-size 1KB --force s3://my-bucket/uploads/Delete objects larger than 1 GB:
s3rm --filter-larger-size 1GiB --force s3://my-bucket/backups/Delete objects older than a specific date:
s3rm --filter-mtime-before 2023-01-01T00:00:00Z --force s3://my-bucket/logs/Delete objects modified after a specific date:
s3rm --filter-mtime-after 2024-06-01T00:00:00Z --force s3://my-bucket/temp/Filters combine with logical AND. Delete .log files older than 90 days and smaller than 10 MB:
s3rm \
--filter-include-regex '.*\.log$' \
--filter-mtime-before 2024-09-01T00:00:00Z \
--filter-smaller-size 10MiB \
--force \
s3://my-bucket/logs/On versioned buckets, delete every version of every object under a prefix:
s3rm --delete-all-versions --force s3://my-bucket/old-data/On versioned buckets, delete all older versions while keeping only the latest version of each object:
s3rm --keep-latest-only --delete-all-versions --force s3://my-bucket/data/This is useful for enforcing version retention policies — it cleans up old versions while preserving the current state of every object. Can be combined with --filter-include-regex or --filter-exclude-regex to target specific keys.
On versioned buckets, delete only the delete markers while leaving all object versions intact:
s3rm --filter-delete-marker-only --delete-all-versions --force s3://my-bucket/data/This is useful for "undeleting" objects — removing the delete markers makes the underlying object versions visible again. Can be combined with other filters like --filter-include-regex to target specific keys.
Stop after deleting 1,000 objects (safety net for large buckets):
s3rm --max-delete 1000 --force s3://my-bucket/data/You can specify a custom endpoint URL via --target-endpoint-url. This can be used for AWS-side endpoints as well as for S3-compatible storage.
Note on S3-compatible storage: s3rm has deprecated support for S3-compatible (non-AWS) storage. The
--target-endpoint-urland--target-force-path-styleflags continue to work, but use against non-AWS backends is provided as-is: it is not tested, no compatibility work will be done, and bug reports specific to S3-compatible services will not be accepted. Only Amazon S3 (including S3 Express One Zone) is supported.
Warning: You may need to specify --target-force-path-style.
s3rm \
--target-endpoint-url https://minio.example.com:9000 \
--target-force-path-style \
--force \
s3://my-bucket/data/s3rm --target-access-key YOUR_KEY --target-secret-access-key YOUR_SECRET --force s3://bucket-name/prefixs3rm --target-region us-west-2 --force s3://bucket-name/prefixs3rm uses a streaming pipeline architecture with four stages connected by async channels:
- ObjectLister — Lists objects from S3 using
ListObjectsV2(orListObjectVersionswhen--delete-all-versionsis enabled). Supports parallel pagination for fast enumeration. - Filter stages — A chain of filters that narrow down which objects to delete. Objects flow through each filter in sequence — if any filter rejects an object, it is skipped.
- ObjectDeleter — A pool of concurrent workers that execute batch deletions using the
DeleteObjectsAPI (orDeleteObjectfor single-object mode). Includes retry logic for partial failures. - Terminator — Drains the final output channel, allowing upstream stages to complete without blocking.
Each stage runs as an independent async task. Objects stream through the pipeline without being buffered in memory.
By default, s3rm groups objects into batches of --batch-size (default: 200) and uses the S3 DeleteObjects API to delete up to 1,000 objects per request. This dramatically reduces the number of API calls compared to deleting objects one at a time.
If --batch-size is set to 1, s3rm uses the DeleteObject API for single-object deletion. This may be needed for S3-compatible services that don't support batch deletion.
When a batch deletion partially fails (some objects deleted, some errors), s3rm records the successfully deleted objects and classifies each failure by error code. Retryable failures are retried individually using DeleteObject API calls (see Retry logic detail).
s3rm has two retry layers:
Layer 1: AWS SDK retries (all API calls)
Every S3 API call (including DeleteObjects, DeleteObject, ListObjectsV2, etc.) is automatically retried by the AWS SDK for Rust using its standard retry strategy with exponential backoff. Configure this with:
--aws-max-attempts(default: 10) — maximum attempts per API call--initial-backoff-milliseconds(default: 100ms) — initial backoff duration, doubled on each retry
Layer 2: Batch partial-failure fallback (batch mode only)
When a DeleteObjects batch request succeeds at the API level but reports per-key errors in its response, s3rm handles each failed key individually:
- Retryable errors (
InternalError,SlowDown,ServiceUnavailable,RequestTimeout) — s3rm falls back to individualDeleteObjectAPI calls for these keys, retrying up to--force-retry-counttimes (default: 0, meaning no fallback retries). The interval between fallback attempts is a fixed delay of--force-retry-interval-milliseconds(default: 1000ms). Each individualDeleteObjectcall also benefits from the AWS SDK's own retry logic (Layer 1). - Non-retryable errors (e.g.,
AccessDenied,NoSuchKey) — logged and added to failures immediately without retry.
This fallback only applies in batch mode (--batch-size > 1). In single-object mode (--batch-size 1), the SingleDeleter does not perform application-level retries — it relies solely on the AWS SDK's built-in retry logic.
If an object fails after all retries are exhausted, s3rm logs the failure and continues processing remaining objects. The final exit code reflects whether any failures occurred.
s3rm filters objects in the following order:
--filter-delete-marker-only--filter-mtime-before--filter-mtime-after--filter-smaller-size--filter-larger-size--filter-include-regex--filter-exclude-regex--keep-latest-onlyFilterCallback (--filter-callback-lua-script / UserDefinedFilterCallback)--filter-include-content-type-regex--filter-exclude-content-type-regex--filter-include-metadata-regex--filter-exclude-metadata-regex--filter-include-tag-regex--filter-exclude-tag-regex
Filters that require additional API calls (content type, metadata, tags) are applied last to minimize unnecessary requests.
Delete markers have no size, content-type, user metadata, or tags. When you run with --delete-all-versions, the
size filters (--filter-smaller-size, --filter-larger-size) and the content-type, metadata, and tag filters
therefore exclude delete markers from deletion — a delete marker cannot match a property it does not have, and
deleting a latest delete marker would resurrect the object it hides, which an attribute-scoped run never intends.
As a result:
- A full purge (
--delete-all-versionswith no size/attribute filter) still deletes delete markers. --filter-delete-marker-onlystill deletes delete markers, and can be combined with modification-time filters (markers have a last-modified time). It cannot be combined with the size/content-type/metadata/tag filters, because that would select nothing.- Modification-time filters (
--filter-mtime-before,--filter-mtime-after) and key regex filters (--filter-include-regex,--filter-exclude-regex) apply to delete markers normally.
By default, s3rm displays a warning with the target S3 path in colored text and requires explicit confirmation before proceeding:
WARNING: All objects matching prefix s3://my-bucket/important-data/ will be deleted.
Use --dry-run to preview which objects would be deleted without actually removing them.
Type 'yes' to confirm deletion:
Only the exact string "yes" is accepted. Any other input — including "y", "Y", "Yes", or "YES" — is rejected, and the operation is cancelled. This is intentional to prevent accidental deletions.
The confirmation prompt is skipped when:
--forceflag is provided--dry-runmode is enabled (no actual deletions occur)- Running in a non-TTY environment (stdin is not a terminal)
With --dry-run, s3rm runs the full pipeline (listing, filtering) but simulates deletions without making actual S3 API calls:
- Each object that would be deleted is logged at info level with a
[dry-run]prefix - Summary statistics (object count, total size) are displayed at the end
- The minimum verbosity level is info, regardless of
-qflags, so that deletion previews are always visible - No confirmation prompt is shown (since nothing will be deleted)
This is the recommended first step when targeting any new prefix or filter combination.
Without --delete-all-versions, deleting from a versioned bucket creates delete markers. The objects appear deleted but previous versions are preserved and can be recovered.
With --delete-all-versions, s3rm uses ListObjectVersions instead of ListObjectsV2 to enumerate every version of every object (including delete markers), and permanently deletes them all. Each version counts as a separate object in progress statistics.
With --keep-latest-only --delete-all-versions, s3rm lists all versions but only deletes the non-latest ones, keeping the latest version of each object intact. This is useful for enforcing version retention policies. The target bucket must have versioning enabled; otherwise s3rm returns an error.
With --if-match, s3rm uses each object's ETag (obtained during listing) to include the If-Match header in deletion requests.
This serves as optimistic locking — it prevents s3rm from deleting an object that has been modified by another process after s3rm listed it. If the ETag has changed, the deletion is skipped and a warning is logged.
Note: --if-match uses single-object DeleteObject API calls (not batch deletion), which may reduce throughput. Use this option when correctness in concurrent environments matters more than raw speed.
Note: --if-match cannot be used with --delete-all-versions. S3 does not support If-Match conditional headers when deleting by version ID (returns NotImplemented).
It is a challenging topic to understand, please refer to AWS documentation.
Note: Few S3-compatible storage services support conditional requests.
s3rm's streaming pipeline means memory usage is constant regardless of how many objects are in the bucket. Objects are streamed through the pipeline as they are listed — they are never all held in memory at once.
Memory usage primarily depends on:
- The number of workers (
--worker-size) - The internal listing queue size (
--object-listing-queue-size)
The default settings are suitable for buckets of any size.
By default, s3rm lists objects in parallel (default 16 workers).
The parallel listing is enabled up to the second level of subdirectories or prefixes.
The depth is configurable with --max-parallel-listing-max-depth option.
For example, if the target is s3://bucket-name/prefix/ and there are many objects under prefix/dir1, prefix/dir2, ..., s3rm lists objects under these prefixes in parallel.
You can configure the number of parallel listing workers with --max-parallel-listings option.
If set to 1, parallel listing is disabled.
With Express One Zone storage class, parallel listing may return in-progress multipart upload objects.
So, parallel listing is disabled by default for Express One Zone. You can enable it with --allow-parallel-listings-in-express-one-zone.
When --delete-all-versions is specified, parallel listing is disabled.
s3rm requires the following S3 permissions:
"Action": [
"s3:DeleteObject",
"s3:DeleteObjectVersion",
"s3:GetBucketVersioning",
"s3:ListBucket",
"s3:ListBucketVersions",
"s3express:CreateSession"
]
Additional permissions may be needed depending on features used:
s3:HeadObject/s3:GetObjectTagging— when using metadata or tag filters
Each type of callback has its own Lua VM and memory limit. The Lua VM is shared between workers and called serially. Each Lua script is loaded and compiled once at startup and lives until the end of the deletion operation.
By default, a Lua script runs in safe mode. Lua's Operating System facilities and Input and Output Facilities are disabled by default. This is because these facilities can be used to execute arbitrary commands, which can be a security risk (especially set-uid/set-gid programs). Also, Lua VM is not allowed to load unsafe standard libraries or C modules.
If these restrictions are too strict, you can use --allow-lua-os-library or --allow-lua-unsafe-vm options.
Note: The statically linked binary cannot load C modules.
If a filter callback Lua script raises an error, s3rm will stop the operation and exit with error code 1.
An event callback Lua script does not stop the operation — just shows a warning message.
- 0: Exit without error
- 1: Exit with error
- 2: Invalid arguments
- 3: Exit with warning (partial failure; use
--warn-as-errorto treat as error) - 101: Abnormal termination (internal panic)
- 130: Interrupted by Ctrl+C (SIGINT; 128 + signal number, the conventional shell encoding)
The number of concurrent deletion workers. More workers can increase throughput, but may increase S3 throttling. Default: 16
Objects grouped per DeleteObjects API call. Default: 200. Range: 1–1,000.
Set to 1 to use single-object DeleteObject API calls.
The number of concurrent listing operations. Default: 16. More parallel listings speed up enumeration of large prefixes.
Maximum depth (subdirectory/prefix) of parallel listings. Default: 2. In some cases, parallel listing at deeper levels may improve performance.
Maximum objects per second. Minimum: 10. Useful to avoid S3 throttling or control API costs.
Regular expression filters for object keys. The regular expression syntax is the same as fancy_regex, which supports lookaround features.
Add an If-Match header for DeleteObject requests.
This is for optimistic locking — prevents deleting objects that were modified since listing.
Don't delete more than a specified number of objects. The pipeline cancels gracefully once the limit is reached.
s3rm uses tracing-subscriber for tracing.
More occurrences increase the verbosity.
For example, -v: show info, -vv: show debug, -vvv: show trace
By default, s3rm shows warning and error messages.
info and debug messages are useful for troubleshooting. trace messages are useful for debugging.
You can also use -q, -qq to reduce the verbosity.
For troubleshooting, s3rm can output the AWS SDK for Rust's tracing information.
Generate shell completion scripts:
s3rm --auto-complete-shell bash
s3rm --auto-complete-shell zsh
s3rm --auto-complete-shell fish
s3rm --auto-complete-shell powershell
s3rm --auto-complete-shell elvishFor more information, see s3rm --help.
Click to expand to view all command line options
| Option | Short | Default | Description |
|---|---|---|---|
--dry-run |
-d |
false |
Preview deletions without executing them |
--force |
-f |
false |
Skip confirmation prompt |
--show-no-progress |
false |
Hide the progress bar | |
--delete-all-versions |
false |
Delete all versions including delete markers | |
--keep-latest-only |
false |
Keep only the latest version, delete older versions (requires --delete-all-versions) |
|
--max-delete |
Stop after deleting this many objects |
| Option | Description |
|---|---|
--filter-delete-marker-only |
Delete only delete markers (requires --delete-all-versions) |
--filter-include-regex |
Delete only objects whose key matches this regex |
--filter-exclude-regex |
Skip objects whose key matches this regex |
--filter-include-content-type-regex |
Delete only objects whose content type matches |
--filter-exclude-content-type-regex |
Skip objects whose content type matches |
--filter-include-metadata-regex |
Delete only objects whose metadata matches (extra API call) |
--filter-exclude-metadata-regex |
Skip objects whose metadata matches (extra API call) |
--filter-include-tag-regex |
Delete only objects whose tags match (extra API call) |
--filter-exclude-tag-regex |
Skip objects whose tags match (extra API call) |
--filter-mtime-before |
Delete only objects modified before this time (RFC 3339) |
--filter-mtime-after |
Delete only objects modified at or after this time (RFC 3339) |
--filter-smaller-size |
Delete only objects smaller than this size |
--filter-larger-size |
Delete only objects larger than or equal to this size |
| Option | Default | Description |
|---|---|---|
-v / -vv / -vvv |
Warn | Increase verbosity level |
-q / -qq |
Decrease verbosity (quiet / silent) | |
--json-tracing |
false |
Output structured JSON logs (requires --force) |
--aws-sdk-tracing |
false |
Include AWS SDK internal traces |
--span-events-tracing |
false |
Include span open/close events |
--disable-color-tracing |
false |
Disable colored log output |
| Option | Description |
|---|---|
--aws-config-file |
Path to AWS config file |
--aws-shared-credentials-file |
Path to AWS shared credentials file |
--target-profile |
AWS CLI profile name |
--target-access-key |
AWS access key ID |
--target-secret-access-key |
AWS secret access key |
--target-session-token |
AWS session token |
--target-region |
AWS region |
--target-endpoint-url |
Custom S3-compatible endpoint URL |
--target-force-path-style |
Use path-style access (default: false) |
--target-accelerate |
Enable S3 Transfer Acceleration (default: false) |
--target-request-payer |
Enable requester-pays (default: false) |
--disable-stalled-stream-protection |
Disable stalled stream protection (default: false) |
| Option | Default | Description |
|---|---|---|
--worker-size |
16 |
Concurrent deletion workers (1–65535) |
--batch-size |
200 |
Objects per batch deletion request (1–1000) |
--max-parallel-listings |
16 |
Concurrent listing operations |
--max-parallel-listing-max-depth |
2 |
Maximum depth for parallel listings |
--rate-limit-objects |
Maximum objects/second (minimum: 10) | |
--object-listing-queue-size |
200000 |
Internal queue size for object listing |
--allow-parallel-listings-in-express-one-zone |
false |
Allow parallel listings in Express One Zone storage |
| Option | Default | Description |
|---|---|---|
--aws-max-attempts |
10 |
Maximum retry attempts per AWS SDK API call |
--initial-backoff-milliseconds |
100 |
Initial exponential backoff for SDK retries (ms) |
--force-retry-count |
0 |
Fallback retries per key on batch partial failures (batch mode only) |
--force-retry-interval-milliseconds |
1000 |
Fixed interval between batch fallback retries (ms) |
| Option | Description |
|---|---|
--operation-timeout-milliseconds |
Overall operation timeout |
--operation-attempt-timeout-milliseconds |
Per-attempt operation timeout |
--connect-timeout-milliseconds |
Connection timeout |
--read-timeout-milliseconds |
Read timeout |
| Option | Default | Description |
|---|---|---|
--if-match |
false |
ETag-based conditional deletion (optimistic locking) |
--warn-as-error |
false |
Treat warnings as errors (exit code 1 instead of 3) |
--max-keys |
1000 |
Max objects per list request (1–32767) |
--auto-complete-shell |
Generate shell completions (bash, zsh, fish, powershell, elvish) |
| Option | Default | Description |
|---|---|---|
--filter-callback-lua-script |
Path to Lua filter callback script | |
--event-callback-lua-script |
Path to Lua event callback script | |
--allow-lua-os-library |
false |
Allow Lua OS/IO library access |
--lua-vm-memory-limit |
64MiB |
Memory limit for the Lua VM |
| Option | Default | Description |
|---|---|---|
--allow-lua-unsafe-vm |
false |
Remove all Lua sandbox restrictions |
All options can also be set via environment variables. The environment variable name matches the long option name in SCREAMING_SNAKE_CASE with hyphens converted to underscores (e.g., --worker-size becomes WORKER_SIZE, --aws-max-attempts becomes AWS_MAX_ATTEMPTS, --filter-include-regex becomes FILTER_INCLUDE_REGEX).
Precedence: CLI arguments > environment variables > defaults.
s3rm is designed to work seamlessly in automated pipelines.
In non-TTY environments (CI/CD pipelines, cron jobs), s3rm automatically disables interactive prompts. Always use --force for unattended execution:
s3rm --force s3://my-bucket/temp/Enable structured JSON logs for log aggregation systems (Datadog, Splunk, CloudWatch, etc.):
s3rm --json-tracing --force s3://my-bucket/temp/Suppress progress output for cleaner CI logs:
s3rm --show-no-progress --force s3://my-bucket/temp/Note: The date -d syntax below is GNU coreutils (Linux). On macOS, use date -u -v-30d instead.
#!/bin/bash
set -e
# Delete temp objects older than 30 days
s3rm \
--filter-mtime-before "$(date -u -d '30 days ago' +%Y-%m-%dT%H:%M:%SZ)" \
--force \
--json-tracing \
s3://my-bucket/temp/
exit_code=$?
if [ $exit_code -eq 3 ]; then
echo "Warning: some deletions failed"
fi- name: Cleanup old staging data
run: |
s3rm \
--filter-mtime-before "$(date -u -d '7 days ago' +%Y-%m-%dT%H:%M:%SZ)" \
--max-delete 10000 \
--force \
--json-tracing \
s3://staging-bucket/deployments/
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1s3rm is designed library-first. All CLI functionality is available programmatically through the s3rm_rs crate.
use s3rm_rs::{build_config_from_args, DeletionPipeline, create_pipeline_cancellation_token};
#[tokio::main]
async fn main() {
// Same arguments you would pass to the s3rm CLI.
let config = build_config_from_args([
"s3rm",
"s3://my-bucket/logs/2024/",
"--dry-run",
"--force",
]).expect("invalid arguments");
let token = create_pipeline_cancellation_token();
let mut pipeline = DeletionPipeline::new(config, token).await;
// The pipeline sends real-time stats to a channel for progress reporting.
// Close the sender if you aren't reading from get_stats_receiver(),
// otherwise the channel fills up and the pipeline stalls.
pipeline.close_stats_sender();
pipeline.run().await;
// --- Error checking ---
if pipeline.has_error() {
if let Some(messages) = pipeline.get_error_messages() {
for msg in &messages {
eprintln!("Error: {msg}");
}
}
std::process::exit(1);
}
let stats = pipeline.get_deletion_stats();
println!("Deleted {} objects ({} bytes)",
stats.stats_deleted_objects, stats.stats_deleted_bytes);
}| Event Type | Description |
|---|---|
PIPELINE_START |
Pipeline execution has started |
PIPELINE_END |
Pipeline execution has completed |
DELETE_COMPLETE |
An object was successfully deleted |
DELETE_FAILED |
An object deletion failed |
DELETE_FILTERED |
An object was filtered out (not deleted) |
PIPELINE_ERROR |
A pipeline-level error occurred |
DELETE_CANCEL |
The pipeline was cancelled |
STATS_REPORT |
Periodic statistics update |
Supported target: Amazon S3 only.
Support for S3-compatible storage is deprecated and provided as-is. The --target-endpoint-url flag is retained for backward compatibility, but non-AWS backends are not tested, not validated against new releases, and bug reports specific to S3-compatible services will not be accepted. If it works for you, great — if it doesn't, use a tool that officially supports your backend.
s3rm has been tested with Amazon S3. s3rm has comprehensive unit tests, property-based tests (proptest) covering 49 correctness properties, and 125 end-to-end integration tests across 17 test files.
cargo testE2E tests require live AWS credentials and are gated behind #[cfg(e2e_test)].
# Run all E2E tests
RUSTFLAGS="--cfg e2e_test" cargo test --test 'e2e_*'
# Run a specific test file
RUSTFLAGS="--cfg e2e_test" cargo test --test e2e_deletion
# Run a specific test function
RUSTFLAGS="--cfg e2e_test" cargo test --test e2e_deletion -- e2e_basic_prefix_deletionAvailable test files: e2e_deletion, e2e_filter, e2e_versioning, e2e_safety, e2e_callback, e2e_optimistic, e2e_performance, e2e_tracing, e2e_retry, e2e_error, e2e_aws_config, e2e_combined, e2e_stats, e2e_express_one_zone, e2e_keep_latest_only.
Express One Zone tests require the S3RM_E2E_AZ_ID environment variable (defaults to apne1-az4 if unset).
S3-compatible storage is not tested when a new version is released, and support is deprecated. Since there is no official certification for S3-compatible storage, comprehensive testing is not possible. Any breakage on non-AWS backends will be left as-is.
Every line of source code, every test, all documentation, CI/CD configuration, and this README were generated by AI using Claude Code (Anthropic).
Human engineers authored the requirements, design specifications, and s3sync reference architecture. They thoroughly reviewed and verified the design, all source code, and all tests. All features of the initial build binary have been manually tested and verified by humans. All E2E test scenarios have been thoroughly verified by humans against live AWS S3. The development followed a spec-driven process: requirements and design documents were written first, and the AI generated code to match those specifications under continuous human oversight.
| Metric | Value |
|---|---|
| Production code | 16,795 lines of Rust (70 source files) |
| Test code | 30,110 lines (1.79x production code) |
| Unit & property tests | 1,006 passing (950 lib + 43 binary + 13 CLI integration), 0 failing |
| Property-based tests (proptest) | 58 proptest macros across 21 test files |
| E2E integration tests | 141 tests across 18 test files, all verified against live AWS S3 |
| Total tests | 1,162 passing (1,006 unit/property + 141 E2E + 15 doc-tests), 0 failing |
| Code coverage (llvm-cov) | 98.34% regions, 98.25% functions, 98.41% lines |
| Static analysis (clippy) | 0 warnings |
| Dependency audit (cargo-deny) | advisories ok, bans ok, licenses ok, sources ok |
| Security review (Claude Code) | No issues found |
| Development | 622 commits, 73 PRs |
| Code reuse from s3sync | ~90% of architecture |
The codebase was built through spec-driven development: 45 tasks executed sequentially, each as a separate PR with human oversight. Every pull request is reviewed by two AI tools (GitHub Copilot and CodeRabbit) and by a human reviewer before merging. Audit checkpoints verified implementation against specifications at multiple stages. Property-based testing (proptest) exercises correctness properties across randomized inputs, complementing deterministic unit tests and live-AWS end-to-end tests.
Reliability assessment: The systematic development process, high test density (about 1.8x test code to production code), zero static analysis warnings, clean dependency audit, 98%+ code coverage, and heavy reuse from a proven sibling project are strong quality indicators. As with any new software, reliability will be further demonstrated through real-world usage over time.
Click to expand the full AI assessment
Assessment date: September 13, 2026
Assessed version: s3rm-rs v1.6.2 (commit
e912a8b)Assessor: Claude Fable 5.1 (model ID
claude-fable-5-1), Anthropic. Effort: full-depth review — every file undersrc/,tests/, andexamples/, plusbuild.rsandCargo.toml(about 47,000 lines), was read in full rather than sampled;cargo fmt --check,cargo clippy --all-features --all-targets, the unit/property/CLI test suites, the doc-tests, andcargo deny checkwere re-run locally on this revision; the E2E suites were compiled under--cfg e2e_testbut not executed (they hit live AWS); the suppliedlcov.infoandllvm-cov-report.txtwere cross-checked against each other. This assessment was written from scratch, does not reuse any earlier AI assessment's conclusions, and reflects the AI's honest evaluation without editing for marketing purposes.
Is s3rm designed to prevent accidental deletions, and is it sufficiently tested?
A deletion tool has two distinct failure modes: the operator asks for the wrong thing (wrong bucket, wrong prefix, forgot to preview), or the software deletes something the operator did not ask for. I evaluated both separately.
- Confirmation prompt (
src/safety/mod.rs). The answer must be exactlyyesafter whitespace trimming;y,YES,yep, and an empty line are all rejected and the program printsDeletion cancelled.and exits 0. The prompt names the target ass3://bucket/prefix, and when no prefix was given it escalates to a highlighted "ALL objects in bucket … will be deleted (no prefix specified)" warning. It also reminds the operator that deletions from non-versioned buckets are unrecoverable and suggests--dry-run. The CLI installs its Ctrl+C handler only after the prompt returns, so Ctrl+C at the prompt terminates the process through the default signal handler instead of being swallowed. - Dry-run is a separate code path, not a flag checked deep inside the deleter. With
--dry-runthe worker builds a synthetic success result from the buffer and never calls the batch or single deleter (src/deleter/mod.rs,delete_buffered_objects). Completions are logged with a[dry-run]prefix,--dry-runconflicts with--forceat the argument-parser level, and the default log level is raised to Info so the preview is visible. The only S3 calls made are read-only:ListObjects/ListObjectVersions,GetBucketVersioning, andHeadObject/GetObjectTaggingwhen attribute filters are configured, so the preview matches a real run exactly. - Non-interactive detection. When stdin or stdout is not a terminal, or
--json-tracingis on, a destructive run without--forceor--dry-runfails with exit code 2 before any listing starts.--json-tracingadditionallyrequires = "force"in clap. A subprocess test pins the exit code and the error text. --max-deleteis a hard cap. Each worker increments a sharedAtomicU64withSeqCstordering before an object is admitted to its delete buffer. The first increment that exceeds the limit flushes only the already-admitted buffer, sets the warning flag, emits aDELETE_FAILEDevent, and cancels the pipeline. Because admission is counted globally before deletion, the cap cannot be overshot regardless of--worker-size. One nuance I verified in the code: a worker that had admitted an object but had not yet flushed it exits on cancellation without deleting, so with several workers the final count can land below the cap. It can never land above it.- Express One Zone auto-detection. A bucket name ending in
--x-s3forcesbatch_size = 1(with a warning if the operator asked for something else), disables parallel listing, and skips the versioning check that directory buckets do not support.--allow-parallel-listings-in-express-one-zoneis the explicit opt-out. - Runtime prerequisite checks that also cover library users (
DeletionPipeline::check_prerequisites). Even whenConfigis built by hand and clap validation is bypassed, the pipeline refuses--keep-latest-onlyor--filter-delete-marker-onlywithout--delete-all-versions, refuses--if-matchtogether with--delete-all-versions, and refuses the two version-only modes on a bucket that has never been versioned. A versioning-suspended bucket is correctly treated as versioned, so--delete-all-versionsreally removes retained versions instead of quietly adding null delete markers. - Ctrl+C. SIGINT cancels the token; every stage observes it, workers drop objects still sitting in their buffers, and the process exits 130. Six process-level tests drive the real binary against an in-process fake S3 endpoint and interrupt it during dry-run listing, parallel listing, batch deletion, single-object deletion, and versioned deletion.
- Prefix scoping is delegated to S3. The prefix is passed as the
prefixparameter ofListObjectsV2/ListObjectVersions, and every key returned by the listing is used verbatim forHeadObject,GetObjectTagging, and both delete APIs. There is no prefix re-joining anywhere, so the classic double-prefix or stripped-prefix bug cannot occur. E2E tests createdata/,data-archive/, andother/and confirm onlydata/is touched, in batch mode, single mode, on versioned buckets, and in the keep-latest-only and delete-marker-only modes. - Every filter fails closed. A filter whose configuration is unexpectedly absent skips the object; a regex whose evaluation errors (fancy-regex backtrack limit) skips the object; a timestamp that cannot be converted skips the object; a negative size skips the object. Delete markers are excluded by the size filters and, inside the deleter, by the content-type, metadata, and tag filters, which both prevents resurrecting a hidden object and avoids the HTTP 405 those APIs return for marker versions.
--keep-latest-onlykeeps anything that is not explicitlyis_latest = false, including non-versioned objects and entries where S3 omitted the flag. - Attribute-filter API errors are not guessed around. A 404 from
HeadObject/GetObjectTaggingskips the object; any other error cancels the whole pipeline. - Batch deletion handles partial failure per key. Retryable S3 error codes (
InternalError,SlowDown,ServiceUnavailable,RequestTimeout) fall back to individualDeleteObjectcalls governed by--force-retry-count; non-retryable codes become warnings (exit 3), or cancel the run under--warn-as-error(exit 1). The single deleter extracts the real S3 error code from the SDK error chain rather than reporting a generic string. Batches never exceed 1,000 objects. - Listing is defensive. A truncated page without a continuation token is an error, and a page that returns the same token or marker twice is refused rather than looped forever. Parallel listing fans out on
CommonPrefixesunder a semaphore, joins every sub-task, and cancels the pipeline on any sub-task error or panic. --if-matchis wired end to end. The listing ETag is sent asIf-MatchonDeleteObjectand as the per-object ETag inDeleteObjects; the single-delete fallback carries the ETag too;PreconditionFailedis non-retryable and becomes a warning. An E2E test overwrites three objects between listing and deletion and asserts exactly seven deletions and three survivors.- Panics are isolated and never silent. Every stage runs under a supervisor task; a panic sets
has_panic, cancels the pipeline, and the CLI exits 101.run()asserts it is called at most once. - Credentials are handled carefully. Secret keys and session tokens are zeroized on drop, the
Debugoutput masks the access key and redacts the rest, and--helphides environment-supplied values. - Lua is sandboxed by default (no
os/io), memory-limited, and time-limited through an instruction-count hook. A filter-script error cancels the pipeline (fail closed); an event-script error only warns. - Output paths tolerate closed pipes. Completion scripts, tracing output, and the final summary are written through pipe-safe writers; process tests run the binary with pre-closed stdout and stderr and require normal exit codes.
I read every test rather than trusting the counts. The suites below are the ones that would catch the bug classes that matter for a deletion tool:
- Dry-run never deletes: unit tests use a mock storage that records every API call and assert zero delete calls; E2E tests list the bucket afterwards and assert every object and every version is still present, including combined with
--delete-all-versions,--keep-latest-only, and--filter-delete-marker-only. - Version-ID-level assertions: the keep-latest-only and delete-marker-only suites record every version ID before the run and assert per ID that old versions are gone, latest versions are retained, and delete markers are retained or removed as specified, including a 1,000-key × 2-version run with eight workers and a "three old versions under a latest delete marker" case.
- Delete markers under attribute filters: dedicated E2E tests for content-type, metadata, tag, and both size filters on versioned buckets containing markers assert the run does not abort and the markers are left in place.
- All ten filters combined: 20 objects with diverse properties, one object per exclusion reason, exactly three deleted.
- Failure handling against real S3: a bucket policy denies deletion on one prefix; tests assert exact deleted/failed counts, the
AccessDeniedcode in events for both deleters, and that--warn-as-errorpromotes the warning in batch and single modes. - Scale and concurrency: 5,000 objects in a six-level hierarchy with and without a prefix on both standard and Express One Zone buckets; 500 objects with 32 workers cross-checked against event counts; a listing queue of size 2 for backpressure; 997 objects with batch size 100 for boundary handling; pagination with
--max-keysof 2, 5, 7, and 10 through sequential and parallel listing of objects and versions. - Property tests (58 proptest blocks): only the exact string
yesis accepted; the max-delete counter never exceeds the limit plus the triggering object; batches never exceed 1,000; every filter predicate agrees with an independent reference computation across random inputs; keep-latest-only is decided solely byis_latest; access-key masking never leaks the middle of a key.
| Check | Result on v1.6.2 |
|---|---|
| Library unit + property tests | 950 passed, 0 failed |
| Binary unit tests | 43 passed, 0 failed |
| CLI subprocess tests (exit codes, broken pipe, SIGINT) | 13 passed, 0 failed |
| Doc-tests | 15 passed, 0 failed |
| E2E tests against live AWS S3 | 141 across 18 files; compiled by me, executed by the maintainer, not re-run here |
cargo fmt --check / cargo clippy --all-features --all-targets |
clean, 0 warnings |
cargo deny check |
advisories, bans, licenses, sources all ok |
Coverage (cargo llvm-cov) |
98.34% regions, 98.25% functions, 98.41% lines |
The uncovered lines cluster where they should: the real stdin prompt handler (safety/mod.rs, which cannot be driven without a terminal and is tested through a trait mock instead), the process::exit branches in main.rs, tracing initialisation, and clap-generated code. I did not find any uncovered code that participates in a deletion decision.
None of the items below is a way for s3rm to delete objects outside the requested target. They are the things I would want to know before running it in production.
- Environment variables can flip safety flags. Clap's
envsupport is enabled onFORCE,DRY_RUN,DELETE_ALL_VERSIONS,MAX_DELETE,KEEP_LATEST_ONLY,FILTER_DELETE_MARKER_ONLY,IF_MATCH, theFILTER_*options, and theALLOW_LUA_*options.TARGETwas removed in v1.5.0 and a unit test pins that. A strayFORCE=truein a CI environment still silently skips the confirmation prompt. Keep automation environments clean of these names. - Prefixes are raw S3 prefixes.
s3://bucket/logsmatcheslogs/,logs-old/, andlogs.txt. The README states that no trailing slash is added, and the prompt shows the prefix exactly as typed, but the operator has to notice. - Batch fallback with a missing key (
src/deleter/batch.rs). WhenDeleteObjectsreports a per-object error, the code takeserr.key().unwrap_or("unknown")and, for retryable codes, retries that key withDeleteObject. AWS S3 always populatesKeyin the error element, so this is unreachable in practice, but a malformed response from a non-AWS endpoint would make the tool issue a delete for an object literally namedunknown. The fallback should be skipped whenKeyis absent. - Supervisor tasks are not joined. Only the terminator is awaited; each stage's supervisor records
has_errorafter the inner task finishes. In theory the pipeline can return before a supervisor has recorded its error. The window is far smaller than the channel-drain and callback work that follows, and the CLI's progress indicator adds up to 50 ms on top, so I consider it theoretical, and it affects reporting only, not what gets deleted. - Cancellation cannot recall an in-flight request. After Ctrl+C or
--max-delete, aDeleteObjectsrequest that was already sent completes, so up to one batch per worker may still be deleted after the cancel. Buffered but unsent objects are dropped. - Time-of-check to time-of-use. An object overwritten between listing and deletion is deleted in its new state unless
--if-matchis used, which is opt-in; an object whose listing entry carries no ETag gets no condition. - Parallel-listing concurrency is loosely bounded. A listing task releases its semaphore permit before spawning sub-prefix tasks and then keeps paging its own prefix without one, so the number of concurrent list requests can exceed
--max-parallel-listingsby the number of paging parents. This affects request rate, not correctness. - Library API notes.
Config::for_target()setsforce = trueand performs no CLI-level validation; the runtime prerequisite checks catch the dangerous combinations but not, for example, rate limit versus batch size. The stats channel is unbounded, so a caller that neither reads nor closes it accumulates messages in memory (the doc comment says the pipeline "stalls"; it actually grows).close_stats_sender()avoids both. - Listings do not request
EncodingType=url(src/storage/s3/mod.rs). A key containing characters that are illegal in XML 1.0 makes the list response unparseable, so every run over that prefix aborts, including the run that would delete the offending key. Anyone withPutObjecton the bucket can create such a key. This is a denial of service against the tool, not an over-deletion, and the fix is to request URL encoding and decode keys before use. - A second Ctrl+C is ignored. The handler waits for one SIGINT, cancels the token, and exits; tokio keeps the signal registration for the life of the process, so a second Ctrl+C no longer terminates it. If shutdown ever hangs (for example on a stalled network), use SIGTERM or
kill. - Access-key masking slices by byte. The masking helper used in
Debugoutput takes the first and last four bytes of the key, so a non-ASCII access key would panic at-vvvwhen the config is trace-logged. AWS access keys are ASCII, so this is cosmetic, but it should use character boundaries. - Deliberate escape hatches.
--allow-lua-unsafe-vmremoves the sandbox entirely, and the Lua timeout hook cannot interrupt a blocking native call once one is allowed. - Storage-layer
expect()s on the clientOptionand the listing semaphore panic (exit 101) if their initialisation invariants are ever broken. That is the right failure direction, but it is abnormal termination rather than a clean error. - History matters. v1.4.0 fixed two real correctness defects in this codebase: versioning-suspended buckets were misclassified as non-versioned, and delete markers fed to attribute filters could abort a run or resurrect hidden objects. Both were found by review, fixed conservatively, and pinned with live-S3 regression tests that I read. That is the right process, but it is evidence that bugs existed, not that none remain.
For the operator-mistake risk, s3rm's defenses are layered and, more importantly, they are enforced in code paths that I could trace end to end: the exact-yes prompt with a whole-bucket warning, a dry-run branch that structurally cannot reach the deleter, a non-interactive refusal, a pre-admission --max-delete cap that cannot be overshot, Express One Zone auto-detection, and prerequisite checks that also protect library callers. For the software-bug risk, the design consistently chooses the safe side when information is missing or an API misbehaves: filters skip rather than delete, attribute lookups cancel rather than guess, delete markers are excluded whenever a filter cannot describe them, and every stage is panic-isolated.
The test suite is unusually direct for a deletion tool. Rather than mocking S3 and asserting on call counts alone, the 141 E2E tests upload real objects, run the real pipeline, and then list the bucket to check what is actually left, often down to individual version IDs. The failure-path tests use a real bucket policy to produce genuine AccessDenied responses. The CLI's exit codes, including the 130 on Ctrl+C, are verified by driving the real binary. Combined with the property tests and 98%+ coverage across regions, functions, and lines, very little behaviour that decides whether an object is deleted goes untested.
Testing cannot prove the absence of bugs, and the findings above list the residual risks I found: environment-variable overrides, raw prefix semantics, one defensive gap in the batch fallback, the missing EncodingType=url on listings, a one-shot Ctrl+C handler, and the inherent listing-to-deletion race. None of them lets the tool delete outside the target the operator named. Used with --dry-run first, a clean environment, a deliberately chosen prefix, and --if-match where overwrites are possible, s3rm v1.6.2 is, in my assessment, a trustworthy tool for its purpose.
Click to expand the full AI assessment
Assessment date: September 13, 2026 (Asia/Tokyo)
LLM: OpenAI Codex; Model: GPT-6; Effort: high (whole-source assessment).
Assessed revision:
v1.6.2-5-gffe8b19. I examined the complete source tree (94 Rust files includingbuild.rs, plus two Lua examples), the manifest, and the supplied coverage artifacts. This assessment was made from the code and test evidence, without using another AI assessment as a reference.
The normal CLI path has meaningful protection against accidental deletion, but I cannot give the implementation an unconditional safety or correctness endorsement. In particular, a malformed DeleteObjects error response from an S3-compatible endpoint can cause its retry fallback to issue a new DeleteObject request for a key that was never selected. There are also definite library API defects and a race in completion reporting. These findings matter even though the local test suite passes with all features enabled.
- A real deletion requires
--forceor an interactive, exactyesconfirmation. Without--force, non-TTY execution and JSON logging are refused; an empty prefix receives a whole-bucket warning (src/safety/mod.rs). - Dry-run follows the listing and filtering path but constructs simulated delete results before the backend call, so the reviewed dry-run path makes no S3 delete request (
src/deleter/mod.rs:485). The reported deleted count in this mode is simulated. - Listings pass the configured prefix to S3. Key, size, time, version, and callback filters compose before deletion; attribute filters exclude delete markers. Failed attribute API calls cancel except for not-found objects. An absent attribute rejects an include regex but passes an exclude regex (
src/storage/s3/mod.rs,src/filters/,src/deleter/mod.rs). - The shared
--max-deletecounter admits at most the configured number of eligible entries before batching (src/deleter/mod.rs:203). It is an upper bound on attempted entries, not a promise that exactly that many deletions complete. Versioned entries count separately. - Runtime checks also protect direct library callers from the main incompatible versioning modes. A missing
is_latestflag retains the entry in keep-latest mode; suspended buckets are treated as versioned (src/pipeline.rs:228,src/types/mod.rs:151,src/storage/s3/mod.rs:863).
- Batch retry can escape the selected key set if the endpoint returns a malformed response. For a retryable per-key error,
BatchDeleteruses the response'skey, or the literalunknownwhen it is absent, in a newDeleteObjectrequest without checking membership in the submitted batch (src/deleter/batch.rs:188). A wrong key could therefore be deleted in the same bucket, outside the requested prefix and--max-deleteadmission set. This requires an incorrect or untrusted S3 response; the normal AWS response contract is an important trust assumption. Batch success/error entries are likewise not reconciled against the submitted identifiers. Config::for_target()cannot run a real S3 operation as supplied. It inheritstarget_client_config: None; storage then has no client and listing panics atS3 client not initialized(src/config/mod.rs:130,src/storage/s3/mod.rs:55). The CLI config builder supplies a client. Manually settingfilter_callback_lua_scripton aConfigalso does not register that callback; registration occurs during CLI-argument conversion (src/config/args/mod.rs:783).- Public duration reporting is wrong.
DeletionPipeline::get_deletion_stats()returns a snapshot whosedurationis always zero (src/pipeline.rs:207,src/types/mod.rs:228). The CLI indicator and callback statistics measure time separately. - Pipeline status can race completion. The lister, filter, and deletion supervisors are detached;
execute_pipeline()joins only the terminator (src/pipeline.rs:296). Output channels can close before a supervisor records an error or panic, allowing a completion event or exit-state check to miss that failure. - Conditional deletion is conditional on having an ETag. With
--if-match, a listed object without an ETag is sent without a condition (src/deleter/single.rs:36,src/deleter/batch.rs:154). Even with an ETag, listing and deletion are separate operations, and previously completed deletions cannot be rolled back.FORCEand other flags may also be supplied by the process environment through clap.
cargo test --locked --offline --all-features --all-targets passed 1,006 tests; all 15 doctests passed. cargo clippy --locked --offline --all-features --all-targets -- -D warnings and cargo fmt --all -- --check passed. With default features disabled, 906 of 907 library tests passed: test_lua_script_path_existing_file_accepted expects a Lua-only option although lua_support removes it (src/property_tests/cross_platform_properties.rs:335). That is a feature-matrix test defect.
The supplied llvm-cov-report.txt and lcov.info agree on 98.34% region coverage (19,318/19,645), 98.25% function coverage (1,569/1,597), and 98.41% line coverage (13,922/14,147). They cover 63 source files and include test code; branch coverage is not reported. The safety prompt module has only 66.17% line coverage. Coverage shows exercised lines, not that the relevant assertions prove safe deletion.
The source tree contains 141 live-AWS E2E tests in 18 gated files. Their cases cover real bucket state after dry-run, filtering, prefix boundaries, versioning, pagination, partial failures, optimistic locking, and concurrency. I inspected their source but did not run them: the ordinary test command excludes cfg(e2e_test), and these cases need AWS credentials and create/delete buckets. The supplied coverage artifacts were evaluated, not regenerated during this assessment.
Click to expand the full AI assessment
Assessor: Gemini Model: Gemini 3.8 Flash Effort: High (comprehensive zero-based review of the complete codebase and test suites from scratch) Assessment date: September 13, 2026 Assessed version: s3rm-rs v1.6.2
Analysis Basis: A rigorous, ground-up architectural, safety, and correctness evaluation covering the entire codebase (63 tracked files and 47,030 lines across
src/,tests/,examples/,build.rs, andCargo.toml). Empirical verification was conducted using the latestlcov.infoandllvm-cov-report.txt, covering all 1,153 automated tests across unit, property, CLI, doc-test, and AWS E2E integration suites.
1. Architecture & Concurrency Model
s3rm-rs is designed as a streaming pipeline composed of four decoupled stages:
ObjectLister → [Filter Stages] → ObjectDeleter Workers (MPMC) → Terminator
-
Bounded Streaming & O(1) Memory Invariant: Pipeline stages communicate exclusively through bounded asynchronous channels (
async_channel::bounded) whose capacity is governed byobject_listing_queue_size(default: 200,000 objects). By streaming objects instead of collecting inventory in memory, memory consumption remains strictly bounded ($O(1)$) regardless of bucket scale—even when deleting tens of millions of keys. -
Double-Spawn Supervisor Panic Containment: In
src/pipeline.rs, all pipeline stages (lister, individual filters, and deletion workers) employ a double-tokio::spawnpattern:If any worker panics due to unexpected runtime anomalies or external library failures, the outer supervisor traps the panic, records the panic event, setstokio::spawn(async move { let join_result = tokio::spawn(async move { worker.run().await }).await; match join_result { Ok(Ok(())) => {} Ok(Err(e)) => { /* handle error */ } Err(panic_err) => { cancellation_token.cancel(); has_error.store(true, Ordering::SeqCst); has_panic.store(true, Ordering::SeqCst); /* log and record panic */ } } });
has_panicatomically, and fires thePipelineCancellationToken. This immediately drains downstream workers, prevents orphaned channels or deadlocks, and guarantees that the process exits withEXIT_CODE_ABNORMAL_TERMINATION(exit code 101) rather than hanging or leaving partial state unhandled. -
Listing Pagination & Stall Avoidance:
ObjectLister(src/lister.rs,src/storage/s3/mod.rs) wraps bothListObjectsV2andListObjectVersions. Parallel listing dynamically partitions prefixes usingDelimiter="/", controlled vialisting_worker_semaphore(sized bymax_parallel_listings) and bounded bymax_parallel_listing_max_depth. Listing loops monitor continuation tokens to protect against pagination cycles on non-compliant S3-compatible endpoints.
2. Blast-Radius Containment & Safety Systems
Destructive tools require layered safeguards against human error, automation failures, and configuration mistakes:
-
Strict Blast-Radius Confirmation:
SafetyChecker(src/safety/mod.rs) mandates an exact, case-sensitive confirmation response of"yes". Inputs such as"y","YES", or"true"are rejected, cancelling execution cleanly with exit code 0. Confirmation prompts clearly differentiate whole-bucket purges (when no prefix is provided) from prefix-scoped purges, issuing highlighted warning banners noting that unversioned objects are permanently unrecoverable. -
Non-Interactive & Headless Guard: In headless environments (scripts without a TTY on stdin/stdout, or invocations with
--json-tracing), interactive prompts cannot be presented safely. The pipeline immediately terminates with exit code 2 (InvalidConfig) unless--forceor--dry-runis explicitly provided, preventing script hangs or unprompted deletions in CI/CD automation. -
Air-Gapped Dry-Run Execution: When
--dry-runis set, all destructive API calls are bypassed insrc/deleter/mod.rs. Workers emit syntheticDeleteResultstructures, log each item with a[dry-run]prefix, and generate comprehensive statistics and event callbacks without dispatching any HTTPDeleteObjectorDeleteObjectsnetwork requests. -
Atomic Deletion Quota (
--max-delete): Enforced at deletion dispatch insrc/deleter/mod.rsvia anAtomicU64counter utilizingSeqCstordering. The admission counter increments atomically before objects enter the batch buffer. Oncedeleted_count > max_delete, the worker flushes already-admitted objects, logs a warning, cancels the pipeline viaPipelineCancellationToken, and halts further ingestion. This ensures concurrent multi-worker pipelines never exceed the requested deletion ceiling. -
Credential Protection: CLI argument definitions for sensitive parameters (
--target-access-key,--target-secret-access-key,--target-session-token) configurehide_env_values = true. In-memory credential structs implementZeroizeandZeroizeOnDrop, mitigating credential leakage in environment dumps, logs, or crash artifacts. -
S3 Express One Zone Compatibility Guard: Targets pointing to Express One Zone directory buckets (
--x-s3suffix) automatically defaultbatch_sizeto 1 and disable parallel listing unless explicitly overridden, avoiding incompatible multi-object batch operations on directory bucket endpoints.
3. S3 Deletion Semantics & Correctness Invariants
-
Delete Marker Isolation on Attribute Filters: Delete markers possess no payload body, content type, tags, or user metadata. In
src/deleter/mod.rsandsrc/filters/, all attribute-based filters (filter_larger_size,filter_smaller_size,content_type,metadata,tags) explicitly skipDeleteMarkerobjects (src/types/mod.rs). This design prevents two severe failure modes:- Unintended Object Resurrection: In S3 versioning, deleting a latest delete marker permanently unhides the prior version, effectively restoring deleted data. Attribute filters must never resurrect objects.
-
API Failures: Calling
HeadObjectorGetObjectTaggingon a delete marker returns HTTP 405 (MethodNotAllowed). Skipping markers preserves pipeline continuity. Attribute-scoped purges leave delete markers intact, while complete purges (--delete-all-versions) or explicit marker cleanups (--filter-delete-marker-only) clean them up safely.
-
Suspended Versioning Bucket Handling: Buckets with versioning in the
Suspendedstate retain historical versions and delete markers created while versioning was active. Insrc/storage/s3/mod.rs,is_versioned_statusevaluates bothBucketVersioningStatus::EnabledandBucketVersioningStatus::Suspendedas versioned. This allows--delete-all-versions,--keep-latest-only, and--filter-delete-marker-onlyto clean up legacy versions on suspended buckets rather than failing or silently skipping historical data. -
Safe Latest-Version Retention (
--keep-latest-only): Insrc/filters/keep_latest_only.rs, the filter checksobject.is_latest(). Objects withis_latest == trueare kept (skipped), while non-latest versions (is_latest == false) are passed to the deleter. As a defensive guarantee,S3Object::is_latest()defaults missing or non-versioned flags totrue, preventing inadvertent deletion of unversioned data. -
Optimistic Concurrency Control (
--if-match): Supports conditional deletions by attaching the object's ETag toDeleteObjectsorDeleteObjectrequests. Objects updated concurrently after listing are preserved. Incompatible combinations (such as--if-matchwith--delete-all-versions, which S3 rejects withNotImplemented) are validated and rejected at argument parsing and pipeline initialization. -
Resilient Batch Error Recovery & Fallback:
BatchDeleter(src/deleter/batch.rs) inspects batch error responses:- Transient/retryable error codes (
InternalError,SlowDown,ServiceUnavailable,RequestTimeout,unknown) trigger automatic fallback to single-object deletion with exponential backoff (force_retry_config). - Permanent errors (
AccessDenied,NoSuchKey) are logged as warnings and recorded in failure statistics, allowing the pipeline to continue rather than aborting prematurely on a single inaccessible object, while still surfacing partial failures via exit code 3 (or exit code 1 with--warn-as-error).
- Transient/retryable error codes (
4. Process Reliability, UNIX Standards, & Extensibility
-
Deterministic Exit Code Contract:
-
0: Success, or user-initiated cancellation (declining confirmation prompt or Ctrl+C at prompt). -
1: Unrecoverable runtime errors, AWS SDK failures, or warnings promoted via--warn-as-error. -
2: Invalid CLI configuration (argument conflict, invalid regex, non-TTY without--force). -
3: Partial failure (some objects deleted, some failed). -
101: Abnormal termination due to a panic caught by supervisor tasks. -
130: Interruption via SIGINT / Ctrl+C (128 + 2 standard shell convention).
-
-
Signal Handling: The async SIGINT handler (
src/bin/s3rm/ctrl_c_handler/) installs after interactive prompts complete, allowing instant terminal interrupt during prompts and graceful, ordered pipeline cancellation during active deletions, ensuring the process exits cleanly with code 130. -
Pipe-Safe I/O: Terminal writers in
src/bin/s3rm/pipe_safe.rsandtracing_init.rs(write_all_pipe_safe,PipeSafeWriter) intercept and swallowBrokenPipeerrors on stdout/stderr. Piping commands such ass3rm --auto-complete-shell bash | headexit cleanly with code 0 instead of panicking on closed pipes. -
Lua Scripting Sandbox: When Lua callbacks are configured (
src/lua/engine.rs), the VM defaults to safe mode withoutosoriolibraries, constrained by configurable memory limits (lua_vm_memory_limit, default 64 MiB) and execution timeouts (lua_callback_timeout, default 10s). Unsafe access requires explicit flags (--allow-lua-os-libraryor--allow-lua-unsafe-vm).
5. Empirical Verification & Test Suite Coverage
Empirical measurement from llvm-cov-report.txt and lcov.info across the complete test inventory demonstrates rigorous verification:
-
Coverage Metrics:
- Line Coverage: 98.41% (13,922 / 14,147 lines)
- Region Coverage: 98.34% (19,318 / 19,645 regions)
- Function Execution: 98.25% (1,569 / 1,597 functions)
-
Test Suite Inventory (1,153 Total Tests):
-
Unit & Property Test Suite (950 tests): Comprehensive unit tests in
src/covering argument validation, filter predicates, deleter batching, cancellation, and storage logic. -
Binary & CLI Suite (56 tests): 43 unit tests in
src/bin/s3rm/, 4 broken-pipe integration tests (tests/cli_broken_pipe.rs), 3 CLI exit code tests (tests/cli_exit_codes.rs), and 6 SIGINT exit code tests (tests/cli_sigint_exit_code.rs). -
Documentation Tests (15 tests): Verifying public API code examples in
src/lib.rs,src/config/,src/pipeline.rs, andsrc/types/. -
Property-Based Testing (17 modules): Proptest modules across
src/property_tests/andsrc/bin/s3rm/indicator_properties.rsvalidating arbitrary key distributions, access key masking, retry backoff invariants, rate limiting bounds, cross-platform path separators, and Lua sandbox boundaries. -
AWS E2E Live Integration Suite (132 tests): Real AWS S3 integration tests across 18 test files (
tests/e2e_*.rs, compiled under--cfg e2e_test) validating live prefix isolation, pagination boundaries, Express One Zone directory buckets, versioned retention, and 32-worker concurrency stress.
-
Unit & Property Test Suite (950 tests): Comprehensive unit tests in
Technical Verdict
s3rm-rs v1.6.2 demonstrates exemplary engineering discipline. Its combination of bounded async streaming, supervisor-isolated concurrency, strict blast-radius guards, accurate S3 delete-marker handling, deterministic exit codes, and 98.41% verified test coverage establishes it as an exceptionally safe, robust, and reliable tool for production cloud deletion workloads.
Gemini Assessment: S (Superior — Verified Safe and Robust for High-Throughput Production Environments)
s3rm is built on a fundamental security assumption: both the object storage system and the specific bucket you delete from must be trusted.
Within this trust model, s3rm implements the security measures you would reasonably expect of a deletion tool:
encrypted transport (TLS/HTTPS) for data in transit, ETag-based optimistic locking (--if-match) for conditional
deletion, and secure handling of credentials through the standard AWS credential providers. These measures protect the
confidentiality and integrity of your operations against transport-level and accidental threats.
However, s3rm assumes that the storage endpoint is honest and non-adversarial — that it correctly implements the S3
API and returns the object listings, metadata, ETags, tags, and checksum values it actually stores, without tampering.
Because s3rm decides what to delete from the listings and metadata the endpoint reports, its filtering and safety
features — prefix scoping, regex/size/modified-time filters, user-defined metadata and tag filters, version handling,
and --if-match — are not a defense against a malicious or compromised storage backend that deliberately returns
falsified listings, forged metadata, or forged ETags. Against such an adversarial endpoint, these guarantees do not
hold, and s3rm may delete objects it should have spared, or spare objects it should have deleted.
Crucially, trust must extend to the bucket, not just the storage provider. Even when the object storage system itself is fully trustworthy, a bucket can still be adversarial — for example, a bucket you do not control, a shared bucket writable by others, or one whose objects, metadata, or tags were crafted by an attacker. If you delete from such a bucket, the data and metadata it serves are already untrusted at the source, and s3rm's guarantees no longer apply. A trusted storage provider hosting an untrusted bucket is, for the purposes of this security model, an untrusted source.
Deleting from an untrusted, compromised, or non-conformant endpoint or bucket is outside s3rm's security model. Selecting a trustworthy storage provider, and ensuring that every bucket you delete from is one you control or trust — including its credentials, encryption, and access policies — remains your responsibility.
We recommend trying s3rm in a test environment first — such as a non-production bucket or a small prefix with --dry-run — before using it on production data. This lets you verify that filters, prefixes, and versioning options behave as expected in your specific setup without any risk to real data.
s3rm is a deletion-only tool. It is not intended to be a drop-in replacement for, or behaviorally compatible with, any other S3 client — examples include the AWS CLI (aws s3 rm, aws s3api delete-object[s]), s5cmd rm, s3cmd del, rclone delete, mc rm, etc., but the same applies to any S3 deletion or transfer tool. Its command-line flags, filter semantics, confirmation prompts, and exit codes are designed around fast parallel batch deletion with safety guardrails — not interoperability with another tool's interface. Flag names, output formats, and behavior will not be adjusted to match any external tool, and scripts written against another S3 client should not be expected to work with s3rm unmodified. If you need full S3 functionality (copy, sync, list, presign, multipart upload, etc.) or compatibility with a specific tool's flag set, use that tool.
The following are explicitly out of scope and will not be added, regardless of demand:
- S3 operations other than object deletion (copy, sync, move, list, presign, multipart upload, tagging writes, policy/ACL changes, etc.). s3rm only deletes; for transfers use s3sync or s3util, for listing use s3ls, and for general S3 operations use the AWS CLI.
- Recovering, restoring, or "undeleting" objects. Once s3rm issues a successful
DeleteObject(s)call, recovery is the responsibility of S3 versioning, MFA Delete, replication, or external backups — s3rm provides no rollback. - Glob or wildcard expansion in S3 prefixes. The prefix you specify is passed to S3 as a literal string match. For pattern-based matching, use
--filter-include-regex/--filter-exclude-regex, or a Lua / Rust filter callback, evaluated client-side after listing. - APIs other than
ListObjectsV2,ListObjectVersions,DeleteObjects,DeleteObject, and the metadata/tag reads required by the corresponding filters (HeadObject,GetObjectTagging). Other S3 APIs are out of scope. - Compatibility with other S3 clients — neither in flag names and behavior, nor in feature coverage. The presence of a feature, flag, or output format in
aws s3 rm,aws s3api,s5cmd,s3cmd,rclone,mc, or any other S3 tool is not, by itself, a reason to add or change it in s3rm. Each request is evaluated only against s3rm's own scope and design principles. Use that other tool if you need its specific surface. - A plugin or extension mechanism. Custom filtering and event handling are supported via the documented Lua scripting interface and the Rust library API; no separate plugin loader will be added.
Issues and pull requests requesting any of the above will be closed.
- Bug reports are welcome, but responses are not guaranteed.
- Since this project is considered functionally complete, I will not accept any feature requests.
- If you find this project useful, feel free to fork and modify it as you wish.
🔒 I consider this project “complete” and will maintain it only minimally going forward. However, I intend to keep the AWS SDK for Rust and other dependencies up to date monthly.
This project is licensed under the Apache-2.0 License.
