Agentic Data Plane

rpk ai api-key create

Create an API key.

This command was introduced in ai version 0.2.94.

Usage

rpk ai api-key create [flags]

Examples

This section provides examples of how to use rpk ai api-key create.

rpk ai api-key create \
  --display-name DISPLAY_NAME

Flags

Value Type Description

--display-name

string

Display name. (required).

--description

string

Description.

--expires-at

string

Expires at. (RFC 3339, for example, 2026-01-02T15:04:05Z).

-f, --filename

string

manifest to create from (YAML or JSON; "-" for stdin); flags override file values.

--dry-run

bool

print the request that would be sent (with the computed update mask) and exit without calling the server.

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.