基础使用
基础使用
如何外网访问
默认情况下,存储桶是不可以被外部访问的
示例存储桶名称
以下示例存储桶名称有效并遵循推荐的命名准则:
docexamplebucket1
log-delivery-march-2020
my-hosted-content
以下示例存储桶名称有效,但不推荐用于静态网站托管以外的用途:
docexamplewebsite.com
www.docexamplewebsite.com
my.example.s3.bucket
以下示例存储桶名称无效 :
doc_example_bucket
(包含下划线)DocExampleBucket
(包含大写字母)doc-example-bucket-
(以连字符结尾)
访问密钥
密钥种类
aws_access_key_id
aws_secret_access_key
配置文件
关键文件
~/.aws/credentials
~/.aws/config