Agentic Data Plane

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.

Usage

rpk ai secret delete [flags]

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

--etag

string

optional etag for optimistic concurrency; delete fails if it no longer matches.

Global flags

Value Type Description

--config

string

Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings; -X help for detail or -X list for terser detail.

--ignore-profile

bool

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.