s3-credentials 0.17

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

A free CLI now lets teams generate and serve time-limited, bucket-scoped AWS credentials, replacing hand-rolled IAM policies for tools like Litestream backups.

Read this as

s3-credentials is a free command-line tool by Simon Willison for creating AWS access keys limited to a single S3 bucket, the cloud file-storage service. Version 0.17 adds commands for reading and setting bucket policies and public access settings, plus a 'localserver' mode that hands out temporary credentials that automatically expire. It mainly affects developers managing cloud storage permissions. The article gives no pricing or adoption details.

Simon Willison released s3-credentials 0.17, an open-source CLI that scopes AWS S3 access keys to one bucket, cutting the risk of over-broad credentials. New commands manage bucket policies and public-access settings, and a localserver exposes expiring credentials over a JSON API. For teams backing up databases to S3 with tools like Litestream, this simplifies least-privilege access. No costs, adoption figures or support commitments are stated.

s3-credentials 0.17 adds get-bucket-policy, set-bucket-policy, get-public-access-block and set-public-access-block commands. The new localserver command (port 8094 by default, -p/--port override) serves time-limited IAM credentials via a GET / JSON API, caching them until expiry and regenerating after, with dog-pile avoidance for concurrent requests. Willison says Claude Code built most of the feature from a single prompt; it underpins planned STS-based temporary Litestream credentials. Limitations are not discussed.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

s3-credentials S3 AWS Claude Code Litestream Amazon STS

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading