# bucket (/docs/cli/bucket)

> For the complete Prisma documentation index, see [llms.txt](https://www.prisma.io/docs/llms.txt). A markdown version of any docs page is available by appending `.md` to its URL.

Create and manage object-store buckets.

Location: CLI > bucket

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

## Usage [#usage]

  

#### bun

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

#### pnpm

```bash
pnpm dlx prisma@latest bucket list
pnpm dlx prisma@latest bucket create --name my-bucket
```

#### yarn

```bash
yarn dlx prisma@latest bucket list
yarn dlx prisma@latest bucket create --name my-bucket
```

#### npm

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

## Commands [#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`](https://www.prisma.io/docs/cli/auth): Sign in to your Prisma account from the CLI, sign out, and manage workspace sessions.
- [`branch`](https://www.prisma.io/docs/cli/branch): List platform branches for a project.
- [`Configuration`](https://www.prisma.io/docs/cli/configuration): Configure Prisma 8 CLI commands with prisma.config.ts and global flags.
- [`contract emit`](https://www.prisma.io/docs/cli/contract-emit): Emit Prisma 8 contract artifacts.
- [`contract infer`](https://www.prisma.io/docs/cli/contract-infer): Infer a starter contract from an existing database.