This repository was archived by the owner on May 29, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -12,16 +12,17 @@ Python 2.6 or 2.7. You can install Boto using pip:
12
12
13
13
## Basic Configuration
14
14
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 :
18
18
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>
21
22
22
23
See the [ Security Credentials] ( http://aws.amazon.com/security-credentials ) page
23
24
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 )
25
26
for more information.
26
27
27
28
## Running the S3 sample
You can’t perform that action at this time.
0 commit comments