garage-unix-socket/script/dev-env-aws.sh

8 lines
248 B
Bash
Raw Normal View History

2020-12-05 17:27:51 +00:00
export AWS_ACCESS_KEY_ID=`cat /tmp/garage.s3 |cut -d' ' -f1`
export AWS_SECRET_ACCESS_KEY=`cat /tmp/garage.s3 |cut -d' ' -f2`
export AWS_DEFAULT_REGION='garage'
2020-11-20 19:50:43 +00:00
function aws { command aws --endpoint-url http://127.0.0.1:3911 $@ ; }
aws --version