signed-s3-url-generator

command module
v0.0.0-...-0bc7308 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2023 License: MIT Imports: 7 Imported by: 0

README

signed-s3-url-generator

Build

Tiny tool to generate presigned AWS S3 URLs.

Example usage

You need to upload data from a machine that is not authorized to access an S3 bucket (and should not do so otherwise). So on a machine with authorization create a url using the presigned url:

signed-s3-url-generator -b mybucket -k 'key/to/save/this/file/under/example.txt'

On the machine without S3 authorization run (works for files < 5 GB):

curl '<url generated earlier>' --upload-file example.txt --progress-bar | cat

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL