Documentation Index
Fetch the complete documentation index at: https://docs.zipkit.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Buckets are cloud storage destinations where ZipKit stores your zip archives. Before you can create zips, you need to configure at least one bucket in your project. ZipKit supports:- AWS S3 - Amazon’s Simple Storage Service
- Cloudflare R2 - Cloudflare’s S3-compatible object storage
Why bucket credentials are required: ZipKit streams zip archives directly to your bucket using multipart uploads. A presigned URL cannot be used since they don’t support the multipart upload operations needed for efficient streaming.
Configuring a Bucket
Buckets are configured through the ZipKit dashboard, not via API. Here’s how:Step 1: Navigate to Buckets
- Log in to your ZipKit dashboard
- Select your project
- Go to the “Buckets” section
- Click “Add Bucket”
Step 2: Choose Your Provider
Select either AWS S3 or Cloudflare R2 based on where you want to store your zips.- AWS S3
- Cloudflare R2
Required Information
The name of your existing S3 bucket (e.g.,
my-zipkit-archives)Note: The bucket must already exist in your AWS account. ZipKit won’t create it for you.Your AWS IAM access key ID (e.g.,
AKIAIOSFODNN7EXAMPLE)Security tip: Create a dedicated IAM user for ZipKit with limited permissions (see below).Your AWS IAM secret access keyNote: This is stored securely and encrypted. You won’t be able to view it after initial setup.
The AWS region where your bucket is located (e.g.,
us-east-1, eu-west-1)Note: Required to connect to the correct S3 endpoint for your bucket.Required IAM Permissions
The IAM user must have permission to write to your bucket. Here’s a minimal IAM policy:Step 3: Save and Test
- Enter all required information
- Click “Save” or “Create Bucket”
- If successful, your bucket will appear in the list
Using Buckets in API Calls
When creating a zip via the API, reference your bucket by its name:bucket_name must match a bucket you’ve configured in your project settings.
Managing Buckets
Viewing Buckets
All configured buckets are listed in your project’s “Buckets” section. You can see:- Bucket name
- Service (S3 or R2)
- Creation date
- Region (if applicable)
Editing Buckets
To update bucket credentials:- Go to the “Buckets” section
- Click “Edit” next to the bucket
- Update the credentials
- Save changes
Deleting Buckets
To remove a bucket configuration:- Go to the “Buckets” section
- Click “Delete” next to the bucket
- Confirm deletion
Multiple Buckets
You can configure multiple buckets in a single project: Use cases:- Separate buckets for different types of archives
- Geographic distribution (buckets in different regions)
- Cost optimization (use R2 for some zips, S3 for others)
bucket_name parameter.