aws-cli-kube Docker image for the AWS CLI will ensure that the credentials are available on the container before continuing with the aws-cli command. It is intended to be ran in kubernetes on EC2 instances and uses the ec2 meta-data endpoint to function.