Last active
April 25, 2021 22:48
-
-
Save ipmb/b2c856c34cf45b7ecbc42cef173356cd to your computer and use it in GitHub Desktop.
testing s3 upload credentials from your shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install awscli # if you don't have it installed already | |
export AWS_ACCESS_KEY_ID=your-access-key # starts with AK | |
export AWS_SECRET_ACCESS_KEY=your-secret-key | |
echo "hello world" | aws s3 cp - s3://your-bucket-name/test.txt | |
aws s3 cp s3://your-bucket-name/test.txt - # this should output "hello world" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment