programmatically control AWS by CLI
283
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
Content type
Image
Digest
Size
26.3 MB
Last updated
almost 9 years ago
docker pull ludwigprager/aws-cli