Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Commit 7adca32

Browse files
author
Andrew Fitz Gibbon
committed
Update README for new credentials file
1 parent 3edb84d commit 7adca32

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,17 @@ Python 2.6 or 2.7. You can install Boto using pip:
1212

1313
## Basic Configuration
1414

15-
You need to set your AWS security credentials before the sample is able to
16-
connect to AWS. The SDK will automatically pick up credentials in environment
17-
variables:
15+
You need to set up your AWS security credentials before the sample code is able
16+
to connect to AWS. You can do this by creating a file named "credentials" at ~/.aws/
17+
(C:\Users\USER_NAME\.aws\ for Windows users) and saving the following lines in the file:
1818

19-
export AWS_ACCESS_KEY_ID="Your AWS Access Key ID"
20-
export AWS_SECRET_ACCESS_KEY="Your AWS Secret Access Key"
19+
[default]
20+
aws_access_key_id = <your access key id>
21+
aws_secret_access_key = <your secret key>
2122

2223
See the [Security Credentials](http://aws.amazon.com/security-credentials) page
2324
for more information on getting your keys. It's also possible to configure your
24-
credentials via a configuration file. See the [Boto Config documentation](http://boto.readthedocs.org/en/latest/boto_config_tut.html)
25+
credentials via other configuration files. See the [Boto Config documentation](http://boto.readthedocs.org/en/latest/boto_config_tut.html)
2526
for more information.
2627

2728
## Running the S3 sample

0 commit comments

Comments
 (0)