Cloudflare 中文文档
R2
编辑这个页面
跳转官方原文档
Set theme to dark (⇧+D)

Configure aws CLI for R2

You must generate an Access Key before getting started. All examples will utilize access_key_id and access_key_secret variables which represent the Access Key ID and Secret Access Key values you generated.

With the aws CLI installed, you may run aws configure to configure a new profile. You will be prompted with a series of questions for the new profile’s details.

You may then use the aws CLI for any of your normal workflows.

​​ Generate presigned URLs

You can also generate presigned links which allow you to share public access to a file temporarily.