command
module
Version:
v0.0.6
Opens a new window with list of versions in this module.
Published: May 10, 2020
License: LGPL-3.0
Opens a new window with license information.
Imports: 21
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶

s3link
Upload files from Stdin to AWS S3 and generate an authenticated URL.
Install
Releases
or
brew tap andrewrech/s3link
brew install s3link
or
go get -u github.com/andrewrech/s3link
Usage
s3link -h
Upload files from Stdin to AWS S3 and generate an authenticated URL.
Usage of s3link:
echo 'file.txt' | s3link
echo 'pre-existing/bucket/key.ext' | s3link
Defaults:
-expire string
URL lifetime (default "1m")
-public
Create public link (insecure simple obfuscation)?
-qr
Generate QR code? (default true)
-region string
AWS region (default "us-east-1")
Environmental variables:
export S3LINK_BUCKET=bucket
export S3LINK_PUB_LINK_PREFIX=public-link-obfuscation-prefix
export S3LINK_AWS_ACCESS_KEY_ID=my_iam_access_key
export S3LINK_AWS_SECRET_ACCESS_KEY=my_iam_secret
export S3LINK_AWS_SESSION_TOKEN=my_iam_session_token [optional]
Authors
License
GNU Lesser General Public License v3.0
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.