aboutsummaryrefslogtreecommitdiff
path: root/script/dev-env-aws.sh
blob: 864fd4c2e3465a213eb4ecab4efea387088f2a7b (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/bash

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'

function aws { command aws --endpoint-url http://127.0.0.1:3911 $@ ; }

aws --version