Skip to content

Instantly share code, notes, and snippets.

View mbaric's full-sized avatar

Matija Baric mbaric

View GitHub Profile
@mbaric
mbaric / s3-get.sh
Last active December 4, 2023 05:41 — 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 AWS signature 4.
# To run, this shell script depends on command-line curl and openssl
#
# References: