Agentic Data Plane

rpk ai secret get

Get a secret’s metadata (tags and audit fields; never the value).

This command was introduced in ai version 0.2.92.

Usage

rpk ai secret get [flags]

Examples

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

Show a secret’s tags and audit fields.

rpk ai secret get OPENAI_API_KEY

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.