rpk ai oauth-client diff
Dry-run of apply for OAuth clients. Prints, per manifest, whether apply would create, update (and which fields), or leave the resource unchanged. Exits non-zero when any change is pending, so CI can gate on "no drift".
Note: diff proves only that the fields a manifest names match live. It does not detect resources that exist live but are absent from the manifests (no prune), nor drift in fields a manifest omits.
Flags
| Value | Type | Description |
|---|---|---|
|
strings |
manifest file, directory, or - for stdin (repeatable). |
|
- |
help for diff. |
|
string |
output format: table|wide|json|yaml|markdown (env: RPAI_FORMAT) (default "table"). |
|
- |
disable colored output (env: NO_COLOR). |
|
string |
path to rpai config (env: RPAI_CONFIG) (default "/var/lib/redpanda/.rpai/config"). |
|
string |
override the selected environment’s AI Gateway URL for this invocation. |
|
string |
rpai profile name (env: RPAI_PROFILE). |
|
- |
verbose debug logging to stderr (env: RPAI_VERBOSE). |
|
string |
static bearer token override (ambient RPAI_TOKEN is ignored under rpk ai). |