Various command line tools and libraries to make using AWS and other providers more convenient.
Allows your programs that use boto to enjoy the magic and flexibility
of the .aws/config file used by aws-cli instead of the putrid mess
that is the .boto file used by the boto library by default.
The documentation can be described as a code snippet. Just do this:
import boto.ec2
import boto_helper
c = boto_helper.Credentials()
ec2 = boto.ec2.connect_to_region(c.default_region())There is no need for boto_helper.Credentials to return credentials,
because the constructor feeds them to the boto library's config
submodule where they are available to all API calls.
Note that this module is mainly used during testing, because in production
you'll either use AssumeRole and get the credentials from the AWS EC2
metadata server, or you'll use a .boto file with just the credentials
you need.