Skip to content

Instantly share code, notes, and snippets.

View adyatlov's full-sized avatar

Andrey Dyatlov adyatlov

View GitHub Profile
@vszakats
vszakats / s3-upload-aws4.sh
Last active June 13, 2024 16:57
AWS S3 upload using signature v4
#!/bin/sh
# To the extent possible under law, Viktor Szakats
# has waived all copyright and related or neighboring rights to this
# script.
# CC0 - https://creativecommons.org/publicdomain/zero/1.0/
# SPDX-License-Identifier: CC0-1.0
# THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,