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

# secret update

> Update the value of an existing secret

Updates an existing Secret's value

## Usage

```bash theme={null}
flexai secret update <secret_name> [flags]
```

## Arguments

| Argument      | Type   | Required | Description                              |
| ------------- | ------ | -------- | ---------------------------------------- |
| `secret_name` | string | Yes      | The name of the FlexAI Secret to update. |

## Flags

| Flag            | Short | Type    | Description                      |
| --------------- | ----- | ------- | -------------------------------- |
| `--help`        | `-h`  | boolean | Displays this help page.         |
| `--value-stdin` | `-p`  | boolean | Take the secret value from stdin |
| `--verbose`     | `-v`  | boolean | Enable verbose logging           |
