Delete all S3 key versions with ruby AWS SDK v3

1 · Jonathan Rochkind · Sept. 23, 2020, 3:37 p.m.
If your S3 bucket is versioned, then deleting an object from s3 will leave a previous version there, as a sort of undo history. You may have a “noncurrent expiration lifecycle policy” set which will delete the old versions after so many days, but within that window, they are there. What if you were deleting … Continue reading Delete all S3 key versions with ruby AWS SDK v3 →...