angristan / s3-destroyer

Empty an S3 bucket as fast as possible 💨

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

s3-destroyer

Iteratively calls ListObjects, add objects keys to a buffer and calls DeleteObject in goroutines.

Usage

  -access-key string
        s3 access-key
  -bucket string
        s3 bucket
  -buffer int
        Size of the buffer in number of objects (default 32768)
  -endpoint string
        s3 endpoint
  -region string
        s3 region
  -secret-key string
        s3 secret-key
  -workers int
        Number of workers to use (default 512)

TODO

  • Support for whole account wipe
  • Handle rate limiting

About

Empty an S3 bucket as fast as possible 💨


Languages

Language:Go 100.0%