# bucket (/docs/cli/bucket)

Create and manage object-store buckets.

Location: CLI > bucket

Use `bucket` commands to manage object-store buckets in a project.

## Usage

#### bun

```bash
bunx prisma bucket list
bunx prisma bucket create --name my-bucket
```

#### pnpm

```bash
pnpm prisma bucket list
pnpm prisma bucket create --name my-bucket
```

#### yarn

```bash
yarn prisma bucket list
yarn prisma bucket create --name my-bucket
```

#### npm

```bash
npx prisma bucket list
npx prisma bucket create --name my-bucket
```

## Commands

| Command                                  | Description                                                                                      |
| ---------------------------------------- | ------------------------------------------------------------------------------------------------ |
| `bucket list`                            | List object-store buckets                                                                        |
| `bucket create`                          | Create an object-store bucket (`--name <name>` sets the display name, auto-generated if omitted) |
| `bucket delete <bucket-id>`              | Delete a bucket and all its access keys                                                          |
| `bucket key list <bucket-id>`            | List access keys for a bucket                                                                    |
| `bucket key create <bucket-id>`          | Create a bucket access key and print its one-time credentials                                    |
| `bucket key delete <bucket-id> <key-id>` | Revoke and delete a bucket access key                                                            |

## Related pages

- [`auth`](/guides/platform-auth): Sign in to your Prisma account from the CLI, sign out, and manage workspace sessions.
- [`branch`](/guides/platform-branch): List platform branches for a project.
- [`Configuration`](/guides/introduction-6-configuration): Configure Prisma ORM CLI commands with prisma.config.ts and global flags.
- [`contract emit`](/guides/orm-contract-emit): Emit Prisma ORM contract artifacts.
- [`contract infer`](/guides/orm-contract-infer): Infer a starter contract from an existing database.

## Related pages

- [Authentication & Tools](./authentication-tools-index.md)
- [Build](./build-index.md)
- [Changelog](../changelog.md)
- [Concepts](./concepts-index.md)
- [Console commands](./console-commands-index.md)
- [Contract Authoring](./contract-authoring-index.md)
- [Core Concepts](./core-concepts-index.md)
- [Data Modeling](./data-modeling-index.md)
- [Database](./database-index.md)
- [DB commands](./db-commands-index.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
