rpk cloud auth create

Create an rpk cloud authentication (auth).

This command creates a new rpk cloud auth. The default SSO login does not need any additional auth values (the token is populated on login) so you can just create an empty auth. You can also use --set to set key=value pairs for client credentials.

The --set flag supports autocompletion, suggesting the -X key format. If you begin writing a YAML path, the flag will suggest the rest of the path.

rpk always switches the current cloud auth to the newly created auth.

Usage

rpk cloud auth create [NAME] [flags]

Flags

Value Type Description

--description

string

Optional description of the auth.

-h, --help

-

Help for create.

-s, --set

strings

A key=value pair to set in the cloud auth.

--config

string

Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings; '-X help' for detail or '-X list' for terser detail.

--profile

string

rpk profile to use.

-v, --verbose

-

Enable verbose logging.