Cloud

rpk cloud auth

Manage rpk cloud authentications.

An rpk cloud authentication allows you to talk to Redpanda Cloud. Most likely, you will only ever need to use a single SSO based login and you will not need this command space. Multiple authentications can be useful if you have multiple Redpanda Cloud accounts for different organizations and want to swap between them, or if you use SSO as well as client credentials. It is recommended to only use a single SSO based login.

Usage

rpk cloud auth [flags]

Subcommands

Command Description

rpk cloud auth delete

Delete an rpk cloud authentication. Deleting a cloud authentication removes it from the rpk.yaml file.

rpk cloud auth list

List rpk cloud authentications.

rpk cloud auth token

Print the cloud auth token of the current profile. This command prints the auth token for the currently selected cloud authentication to stdout.

rpk cloud auth use

Select the rpk cloud authentication to use. This swaps the current cloud authentication to the specified cloud authentication.

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.