> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.itential.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.itential.com/_mcp/server.

# iagctl delete secret

Delete a secret.

The `iagctl delete secret` command deletes a secret from the gateway data store. This operation can't be undone.
[Create Gateway secret store](../configure-secret-store).

## Syntax

```bash
iagctl delete secret <secret-name> [flags]
```

## Examples

The following example deletes a secret called `my-secret`:

```bash
iagctl delete secret my-secret
```

## Options

```bash
  -h, --help   Help for secret
```

## Options inherited from parent commands

```bash
  --profile string   Specify the client profile to use (case-insensitive, defaults to [client] section)
  --config string   Path to the configuration file
  --raw             Display the result of the command in raw format
  --verbose         Enable verbose output
```