> For the complete documentation index, see [llms.txt](https://codemash.gitbook.io/codemash/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codemash.gitbook.io/codemash/cli/reference/apikeys.md).

# norbix apikeys

Show or regenerate project API keys.

Show or regenerate project API keys.

2 commands (`@norbix.ai/cli` 1.16.0):

* [`norbix apikeys list`](#norbix-apikeys-list) — Show the project's API keys for the current environment
* [`norbix apikeys regenerate`](#norbix-apikeys-regenerate) — Regenerate the API keys for the current environment (old keys stop working!)

## `norbix apikeys list`

Show the project's API keys for the current environment

```sh
norbix apikeys list
```

Also takes the [global flags](/codemash/cli/reference.md#global-flags): `--json`, `--project`, `--env`, `--region`, `--api-key`, `--account`, `--profile`.

Examples:

```sh
norbix apikeys list
norbix apikeys list --env TEST
```

## `norbix apikeys regenerate`

Regenerate the API keys for the current environment (old keys stop working!)

```sh
norbix apikeys regenerate [flags]
```

| Flag          | Description                                                            |
| ------------- | ---------------------------------------------------------------------- |
| `-y`, `--yes` | Skip the confirmation prompt (required in non-interactive shells)      |
| `--dry-run`   | Resolve context and print the request that would be sent; send nothing |

Also takes the [global flags](/codemash/cli/reference.md#global-flags): `--json`, `--project`, `--env`, `--region`, `--api-key`, `--account`, `--profile`.

Examples:

```sh
norbix apikeys regenerate --yes
norbix apikeys regenerate --dry-run
```
