diff options
Diffstat (limited to 'python/boto/README.boto')
-rw-r--r-- | python/boto/README.boto | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/python/boto/README.boto b/python/boto/README.boto new file mode 100644 index 0000000000..8eb3041c15 --- /dev/null +++ b/python/boto/README.boto @@ -0,0 +1,26 @@ +In order for boto to access an s3 resource it must be able to get the +access key and secret key for an s3 account. The 3 ways that boto can +obtain the keys are in the following order of precedence. + +1) Credentials passed into Connection class constructor +2) Credentials specified by environment variables +3) Credentials specified as options in a config file + +The easiest way for boto to read proper s3 credentials are from a +global config file in /etc/boto.cfg or on a user basis in +~/.boto. + +An example config file looks like the following: + +[Credentials] +aws_access_key_id = <your access key> +aws_secret_access_key = <your secret key> + +[Boto] +debug = 0 +num_retries = 10 + +proxy = myproxy.com +proxy_port = 8080 +proxy_user = foo +proxy_pass = bar |