Skip to content

Instantly share code, notes, and snippets.

@ambanmba
ambanmba / aws-signature-creator.sh
Last active January 7, 2022 16:56 — forked from adrianbartyczak/aws-signature-creator.sh
Use curl to pull a file from S3 within a script
#!/usr/bin/env bash
#
# File:
# aws-signature-creator.sh
#
# Description:
# A signature creator for AWS signature version 4
#
# References:
# https://czak.pl/2015/09/15/s3-rest-api-with-curl.html