Cloudflare R2 cung cấp không gian lưu trữ tương thích S3 miễn phí lên đến 10 GB/tháng. Đây là giải pháp thay thế tuyệt vời cho Google Drive để đồng bộ cấu hình VNKey.
Cloudflare R2 offers S3-compatible cloud storage free up to 10 GB/month. This is an excellent alternative to Google Drive for syncing your VNKey configuration.
Đăng nhập vào bảng điều khiển Cloudflare > chọn mục R2 ở thanh menu bên trái.
Nhấp vào nút Create Bucket, đặt tên cho bucket của bạn (ví dụ: vnkey-sync) và nhấn Create bucket để hoàn thành.
Log in to your Cloudflare dashboard > select R2 in the left sidebar menu.
Click the Create Bucket button, name your bucket (e.g., vnkey-sync), and click Create bucket to finish.
Tại giao diện R2 chính, bạn sẽ thấy thông tin Account ID nằm ở khung thông tin phía bên phải màn hình.
Hãy sao chép chuỗi ký tự này (nó có dạng tương tự như: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6).
From the main R2 dashboard, you will find your Account ID in the details section on the right side of the screen.
Copy this string (it will look similar to: a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6).
Bấm vào liên kết Manage R2 API Tokens nằm ở bên phải trang R2. Chọn Create API Token và cấu hình như sau:
Click on the Manage R2 API Tokens link on the right of the R2 page. Select Create API Token and configure it as follows:
• Token name: Đặt tên gợi nhớ (ví dụ: vnkey-token).
• Permissions: Chọn quyền Object Read & Write (hoặc Admin Read & Write).
• Bucket scoping: Chọn Apply to specific buckets only và chọn đúng bucket vừa tạo ở bước 1 để tăng độ bảo mật.
Nhấn Create API Token để hoàn tất.
• Token name: Set a memorable name (e.g., vnkey-token).
• Permissions: Choose Object Read & Write (or Admin Read & Write).
• Bucket scoping: Choose Apply to specific buckets only and select the bucket you created in Step 1 to improve security.
Click Create API Token to complete.
Sau khi tạo token thành công, Cloudflare sẽ hiển thị các thông tin quan trọng một lần duy nhất. Hãy lưu lại:
Upon successful token creation, Cloudflare will display these credentials only once. Make sure to copy and save them:
Mở ứng dụng VNKey > Vào phần Đồng bộ Cloud > Chọn thẻ lưu trữ là Cloudflare R2. Tiến hành điền 4 thông tin đã lấy được bao gồm:
Open the VNKey application > Go to Cloud Sync > Select Cloudflare R2 storage tab. Fill in the 4 items you retrieved:
1. Account ID (Từ bước 2)
2. Access Key ID (Từ bước 4)
3. Secret Access Key (Từ bước 4)
4. Bucket Name (Tên bucket ở bước 1, ví dụ: vnkey-sync)
1. Account ID (From Step 2)
2. Access Key ID (From Step 4)
3. Secret Access Key (From Step 4)
4. Bucket Name (The name of the bucket from Step 1, e.g., vnkey-sync)
Cuối cùng, thiết lập Mật khẩu mã hoá đồng bộ ở phía dưới (dùng để mã hoá dữ liệu trước khi gửi lên đám mây nhằm bảo mật an toàn thông tin) và nhấn Lưu cấu hình & Bật đồng bộ.
Finally, set the Sync Encryption Password below (used to encrypt data on your device before uploading to ensure absolute security) and click Save Config & Enable Sync.