rpk ai policy
Manage Cedar authorization policies (create, get, list, update, delete).
| This command was introduced in ai version 0.2.26. |
Subcommands
| Command | Description |
|---|---|
Reconcile policies from one or more YAML manifests. For each manifest: create the resource if absent, otherwise update every field that differs from the live resource. |
|
Create a Cedar authorization policy: the allow/deny gate that decides WHETHER a principal may call a tool. |
|
Delete a policy. |
|
Dry-run of apply for policies. Prints, per manifest, whether apply would create, update (and which fields), or leave the resource unchanged. |
|
Get a policy. |
|
List policies. |
|
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. |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |