> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bronto.io/llms.txt
> Use this file to discover all available pages before exploring further.

# bronto api-keys

> Manage API keys

Manage API keys

<Tip>
  * **Platform docs:** [docs.bronto.io/Account-Management/API-Keys](https://docs.bronto.io/Account-Management/API-Keys)
  * **API reference:** [docs.bronto.io/api-reference/api-keys/retrieve-a-list-of-api-keys](https://docs.bronto.io/api-reference/api-keys/retrieve-a-list-of-api-keys)
</Tip>

```sh theme={"dark"}
bronto api-keys <command> [flags]
```

#### Subcommands

| Command | Description |
| - | - |
| [`bronto api-keys create`](/cli/reference/commands/api-keys#bronto-api-keys-create) | Create an API key |
| [`bronto api-keys delete`](/cli/reference/commands/api-keys#bronto-api-keys-delete) | Delete an API key |
| [`bronto api-keys list`](/cli/reference/commands/api-keys#bronto-api-keys-list) | List API keys |
| [`bronto api-keys update`](/cli/reference/commands/api-keys#bronto-api-keys-update) | Update an API key |

Also accepts the [global flags](/cli/reference/commands/global-flags).

## bronto api-keys create

Create an API key

```sh theme={"dark"}
bronto api-keys create [flags]
```

#### Flags

| Flag | Short | Type | Default | Description |
| - | - | - | - | - |
| `--field` | `-f` | stringArray | | request body field as key=value; values parse as JSON when possible (repeatable) |
| `--input` | | string | | read the request body from a file, or - for stdin |

Also accepts the [global flags](/cli/reference/commands/global-flags).

#### Examples

```sh theme={"dark"}
bronto api-keys create -f name=<name> -f 'roles=["IngestionApi"]'
bronto api-keys create --input body.json
```

## bronto api-keys delete

Delete an API key

```sh theme={"dark"}
bronto api-keys delete <id> [flags]
```

#### Flags

| Flag | Short | Type | Default | Description |
| - | - | - | - | - |
| `--yes` | | bool | | skip the confirmation prompt |

Also accepts the [global flags](/cli/reference/commands/global-flags).

#### Examples

```sh theme={"dark"}
bronto api-keys delete <id> --yes
```

## bronto api-keys list

List API keys

```sh theme={"dark"}
bronto api-keys list [flags]
```

#### Flags

| Flag | Short | Type | Default | Description |
| - | - | - | - | - |
| `--reveal` | | bool | | show full secret values instead of masking them |

Also accepts the [global flags](/cli/reference/commands/global-flags).

#### Examples

```sh theme={"dark"}
bronto api-keys list
```

## bronto api-keys update

Update an API key

```sh theme={"dark"}
bronto api-keys update <id> [flags]
```

#### Flags

| Flag | Short | Type | Default | Description |
| - | - | - | - | - |
| `--field` | `-f` | stringArray | | request body field as key=value; values parse as JSON when possible (repeatable) |
| `--input` | | string | | read the request body from a file, or - for stdin |

Also accepts the [global flags](/cli/reference/commands/global-flags).

#### Examples

```sh theme={"dark"}
bronto api-keys update <id> -f name=<name>
bronto api-keys update <id> --input body.json
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.