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

# Secrets

> Every secrets command in the Flexprice CLI, with flags, required fields and examples.

## create

Create a new API key

| Flag                   | Type   | Required |
| ---------------------- | ------ | -------- |
| `--expires_at`         | string |          |
| `--name`               | string | yes      |
| `--service_account_id` | string |          |
| `--type`               | string | yes      |

```sh theme={null}
flexprice secrets create --name=<value> --type=<value>
```

## delete

Delete an API key

```sh theme={null}
flexprice secrets delete
```

## list

List API keys

```sh theme={null}
flexprice secrets list
```
