cloud:recipe:s3
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cloud:recipe:s3 [2021/04/05 13:29] – [Test Access with S3CMD Utility] chudler | cloud:recipe:s3 [2021/04/05 13:39] (current) – chudler | ||
---|---|---|---|
Line 37: | Line 37: | ||
======Test Access with Python Boto (example)====== | ======Test Access with Python Boto (example)====== | ||
+ | |||
+ | Install boto library | ||
+ | < | ||
+ | python3 -m pip install --user boto | ||
+ | </ | ||
+ | |||
< | < | ||
import boto | import boto | ||
- | import boto.s3.connection | ||
access_key = '< | access_key = '< | ||
secret_key = '< | secret_key = '< | ||
Line 46: | Line 51: | ||
aws_access_key_id = access_key, | aws_access_key_id = access_key, | ||
aws_secret_access_key = secret_key, | aws_secret_access_key = secret_key, | ||
- | host = ' | + | host = ' |
- | | + | |
- | | + | |
) | ) | ||
/var/lib/dokuwiki/data/attic/cloud/recipe/s3.1617647379.txt.gz · Last modified: 2021/04/05 13:29 by chudler