This provides a new site with a unique IAM access key/secret that allows read/write access to a single S3 bucket, e.g. to allow a Django site to upload media files. This assumes the bucket itself has already been created.
Note: I originally created this gist as a note-to-self so conventions shown here are particular to my setup; YMMV.
- Log in to the AWS Console and head to the IAM section
- Click Users to access the IAM user list
- Click Add User
- Enter username in the format of
sitename-s3
(replacingsitename
)