Agentic Data Plane
Preview

rpk ai policy update

Update a policy in place. Only the flags you pass are written; the field mask is built from the flags actually set, so omitted fields are left untouched.

This command was introduced in ai version 0.2.26.

Usage

rpk ai policy update [flags]

Flags

Value Type Description

--cedar

string

inline Cedar policy text. Mutually exclusive with --cedar-file.

--cedar-file

string

path to a file containing the Cedar policy text (.cedar). Mutually exclusive with --cedar.

--description

string

new description.

--display-name

string

new display name.

--etag

string

optional etag for optimistic concurrency.

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.