---
title: "Object Storage (Buckets)"
description: "Create and manage S3-compatible storage buckets on Miget."
---
Miget provides S3-compatible object storage for storing files, assets, backups, and any unstructured data. Buckets are fully managed and accessible through standard S3 APIs and tools.
## Creating a Bucket
Navigate to your [Miget dashboard](https://app.miget.com) and go to **Buckets**. Click **Create Bucket**.
Give it a descriptive name, and place it either on a **Resource** or on [Usage Billing](/pricing/usage-billing), with no resource underneath it. Either way, choose the size - see Billing below for what that size actually means.
After creation, the bucket details page shows your S3-compatible credentials:
- **Endpoint** - the S3 endpoint URL
- **Access Key** - your S3 access key ID
- **Secret Key** - your S3 secret access key
- **Bucket Name** - the bucket identifier
Use these with any S3-compatible client or SDK.
## Billing
On a resource, a bucket counts toward the resource's plan like any add-on. On [Usage Billing](/pricing/usage-billing), a bucket is billed differently from everything else: it is charged for the data it actually holds, measured every hour, at $0.02/GiB-month - **not** for the size you gave it. `disk_size` there is only a ceiling on how much it may hold, so an empty bucket with a 50 Gi ceiling costs nothing until you put something in it.
Up to 100 buckets on a Team workspace (50 on Personal, 150 on Organization, 200 on Enterprise) - see [Workspace limits](/pricing/workspace-limits) to raise it.
## File Browser
Miget includes a built-in file browser for managing objects directly from the dashboard. You can:
- **Upload files** - drag and drop or select files to upload
- **Download files** - download individual files directly
- **Create folders** - organize objects with folder structure
- **Rename** - rename files and folders
- **Delete** - remove individual files or folders
For large files, Miget uses multipart uploads automatically.
## Presigned URLs
Generate time-limited, secure URLs for direct file access without exposing your credentials. Presigned URLs are useful for:
- Sharing files with external users temporarily
- Allowing direct uploads from client applications
- Integrating with applications that need temporary access to specific objects
You can generate presigned URLs for both uploads and downloads through the API.
## Bucket Policies and ACLs
Control access to your bucket with:
- **Bucket Policies** - JSON-based policies for fine-grained access rules
- **ACLs** - access control lists for simpler permission models
## Credential Rotation
You can regenerate your S3 access credentials at any time from the bucket details page. After rotation, the previous credentials are immediately invalidated. Update your applications with the new credentials to restore access.
Regenerating credentials invalidates the previous keys immediately. Make sure to update all applications using the bucket before rotating.
## Connecting with S3 Tools
Miget buckets are compatible with standard S3 tools and SDKs. Here are some common examples:
### AWS CLI
```bash
aws s3 ls s3://your-bucket-name \
--endpoint-url https://your-endpoint-url
```
Configure credentials using `aws configure` or environment variables:
```bash
export AWS_ACCESS_KEY_ID=your-access-key
export AWS_SECRET_ACCESS_KEY=your-secret-key
```
### Node.js (AWS SDK v3)
```javascript
import { S3Client, ListObjectsV2Command } from "@aws-sdk/client-s3";
const client = new S3Client({
endpoint: "https://your-endpoint-url",
region: "auto",
credentials: {
accessKeyId: "your-access-key",
secretAccessKey: "your-secret-key",
},
});
const response = await client.send(
new ListObjectsV2Command({ Bucket: "your-bucket-name" })
);
```
## Deleting a Bucket
When you delete a bucket, all objects stored in it are permanently removed. This action cannot be undone. Make sure to download any data you need before deleting.