Skip to content

Instantly share code, notes, and snippets.

@hyperoff
hyperoff / s3-get.sh
Created January 23, 2021 20:22 — forked from mmaday/s3-get.sh
S3 signed GET in plain bash (Requires openssl and curl)
#!/usr/bin/env bash
#
# Usage:
# s3-get.sh <bucket> <region> <source-file> <dest-path>
#
# Description:
# Retrieve a secured file from S3 using curl/openssl and AWS Signature 4.
# To run, this shell script depends on command-line curl and openssl
#
# References: