定价
免费额度是 10G,然后 A 类每月一百万,B 类操作每月 1000 万,完全足够了。
Class A operations
Class A Operations include ListBuckets
, PutBucket
, ListObjects
, PutObject
, CopyObject
, CompleteMultipartUpload
, CreateMultipartUpload
, LifecycleStorageTierTransition
, ListMultipartUploads
, UploadPart
, UploadPartCopy
, ListParts
, PutBucketEncryption
, PutBucketCors
and PutBucketLifecycleConfiguration
.
Class B operations
Class B Operations include HeadBucket
, HeadObject
, GetObject
, UsageSummary
, GetBucketEncryption
, GetBucketLocation
, GetBucketCors
and GetBucketLifecycleConfiguration
.
创建存储桶
S3 接口
参考文档 Authentication | Cloudflare R2 docs
在 Cloudflare | Web Performance & Security 创建一个 api,选择合适的权限和存储桶。
创建了 api 令牌之后,就会有为 S3 客户端使用以下凭据:
- 访问密钥 ID
- 机要访问密钥
- endpoint 注意这些信息不会再次显示,所以记得保存。
参考 obsidian 插件 remotely save 的设置