rpk ai secret delete
Delete a secret.
The store does not check references: resources that still name this secret (LLM providers, MCP servers, OAuth clients, agents) fail at runtime once it is gone.
| This command was introduced in ai version 0.2.92. |
Examples
This section provides examples of how to use rpk ai secret delete.
Delete a secret by its ID.
rpk ai secret delete OPENAI_API_KEY
Flags
| Value | Type | Description |
|---|---|---|
|
string |
optional etag for optimistic concurrency; delete fails if it no longer matches. |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |