File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -25,19 +25,31 @@ Create a new Bucket.
25
25
26
26
<img src = " https://github.com/user-attachments/assets/f679ff9f-1a9c-4d09-b663-2fa2baadea93" />
27
27
28
- Create your R2 Token by clicking "Manage R2 API Tokens"
28
+ Create your R2 Token by going to R2 Object Storage:
29
29
30
- <img src = " https://github.com/user-attachments/assets/f47e0b90-834f-4c18-abe0-a89b62ca6458" />
30
+ <img src = " https://i.imgur.com/yVJwVBb.png" />
31
+
32
+ Click on the API dropdown, and select [ Manage API tokens] ( https://dash.cloudflare.com/?to=/:account/r2/api-tokens ) :
33
+
34
+ <img src = " https://i.imgur.com/PmzyGeQ.png" />
35
+
36
+ Copy your Account ID for later, and click on "Create an API token":
37
+
38
+ <img src = " https://i.imgur.com/hvsGnWI.png" />
39
+
40
+ Create an Account API token:
41
+
42
+ <img src = " https://i.imgur.com/MvZsYfC.png" />
31
43
32
44
Under "Permissions" choose "Object Read & Write" and under "Specify bucket(s)" search for your created Bucket.
33
45
34
46
<img src = " https://github.com/user-attachments/assets/30991d43-9920-47d4-9c53-bde619974009" />
35
47
36
- After the R2 Token was created, copy your "Access Key ID" and "Secret Access Key"
48
+ After the R2 Token is created, copy your "Access Key ID" and "Secret Access Key":
37
49
38
50
<img src = " https://github.com/user-attachments/assets/d4b4218f-fe20-47ec-937a-0d516fa74c64" />
39
51
40
- Copy the information respectfully into your .env environment.
52
+ Paste the respective information into your .env environment.
41
53
42
54
``` dotenv
43
55
CLOUDFLARE_ACCOUNT_ID="accountId"
You can’t perform that action at this time.
0 commit comments