cloud:recipe:s3
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
cloud:recipe:s3 [2021/04/05 13:21] – created chudler | cloud:recipe:s3 [2021/04/05 13:33] – chudler | ||
---|---|---|---|
Line 23: | Line 23: | ||
access_key = <ACCESS KEY> | access_key = <ACCESS KEY> | ||
secret_key = <SECRET KEY> | secret_key = <SECRET KEY> | ||
- | host_base = https:// | + | host_base = https:// |
- | host_bucket = https:// | + | host_bucket = https:// |
</ | </ | ||
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 | ||
Line 46: | Line 52: | ||
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 = ' |
is_secure=True, | is_secure=True, | ||
calling_format = boto.s3.connection.OrdinaryCallingFormat(), | calling_format = boto.s3.connection.OrdinaryCallingFormat(), |
/var/lib/dokuwiki/data/pages/cloud/recipe/s3.txt · Last modified: 2021/04/05 13:39 by chudler