Agentic Data Plane

rpk ai secret list

List secrets. --filter and --tag are ANDed into one AIP-160 filter; --name-contains then narrows the result to ids containing the substring.

Fields --filter can test: name (the full secrets/ID resource name), created_by, updated_by, created_at, updated_at, tags.KEY ("=" or ":" for a substring) and tags:KEY (has key).

This command was introduced in ai version 0.2.92.

Usage

rpk ai secret list [flags]

Examples

This section provides examples of how to use rpk ai secret list.

rpk ai secret list --tag team=ai
rpk ai secret list --filter 'created_by = "me@example.com" OR tags:owner'

Flags

Value Type Description

--filter

string

AIP-160 filter expression, ANDed with the other filter flags.

--name-contains

string

only secrets whose id contains this substring (case-insensitive).

--tag

stringArray

only secrets carrying this tag, KEY=VALUE (repeatable; all must match).

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.