programmatically control AWS by CLI
340
You only need your Access Key ID and Secret Access Key. If you didn't check out the git repository type
mkdir -p aws/
To add your credentials type
docker run -ti --rm --name aws-cli \
-v $(pwd)/aws/:/root/.aws/ \
aws-cli:0.1 \
aws configure
Your credentials are now stored in directory 'aws' for subsequent calls.
docker run -ti --rm --name aws-cli \
-v $(pwd)/aws/:/root/.aws/ \
aws-cli:0.1 \
aws ec2 describe-instances
docker pull ludwigprager/aws-cli:latest