Agentic Data Plane
Preview

rpk ai auth login

Run the OAuth 2.0 device authorization grant against Redpanda Cloud, persist the resulting credentials, and prompt to select an environment whose AI Gateway URL becomes the active profile’s dataplane URL.

Credentials are stored in the rpk ai credentials file with 0600 permissions, keyed by organization.

A successful login rewrites the config in the current schema, so running rpk ai auth login is also how you migrate a config left over from an older version of the plugin.

If the current environment’s organization still holds valid credentials, login is a no-op and prints "Already logged in". Run rpk ai auth logout first to re-authenticate, or rpk ai auth logout --all for a full clean slate.

Usage

rpk ai auth login [flags]

Flags

Value Type Description

--no-browser

bool

do not attempt to open the browser; print the URL only.

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.