Log in to GitHub Docker registry with just a token
github snippets bash
GitHub's new package registry needs both a username and password to authenticate. Use this snippet to derive the username from a token.
Improve your bash scripts with this boilerplate template
Bash is a finnicky beast. Use this template to make your scripts behave more reliably.
How to generate temporary download links to S3 objects
aws security snippets s3
Pre-signed URLs are a great way to share large files without giving the recipient permanent access. Learn how to use the AWS CLI to create links that expire after a certain amount of time.
AWS KMS cryptographic operations on the command line
aws security snippets
Leverage AWS KMS on the command line using these simple commands.