rpk ai oauth-client
Manage OAuth clients registered with the AI gateway’s in-dataplane OAuth Authorization Server.
An OAuthClient is the external tool (Claude.ai, ChatGPT, Cursor, …) that requests access tokens for an MCP. Create one per tool you want to allow in; the client_secret is returned exactly once on create and cannot be retrieved afterward. Rotate via delete + re-create until Phase 2 lands a dedicated rotation RPC.
Aliases: oauth-clients, oc.
Flags
| Value | Type | Description |
|---|---|---|
|
- |
help for oauth-client. |
|
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) Use "rpk ai oauth-client [command] --help" for more information about a command. |