Skip to content

Various command line tools and libraries to make using AWS and other providers more convenient

License

Notifications You must be signed in to change notification settings

tjsoftworks/cloud-support

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloud-support

Various command line tools and libraries to make using AWS and other providers more convenient.

boto_helper

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.

About

Various command line tools and libraries to make using AWS and other providers more convenient

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%