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.
Flags
Value | Type | Description |
---|---|---|
|
string |
Optional description of the auth. |
|
- |
Help for create. |
|
strings |
A key=value pair to set in the cloud auth. |
|
string |
Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD, and /etc/redpanda/redpanda.yaml. |
|
stringArray |
Override rpk configuration settings; '-X help' for detail or '-X list' for terser detail. |
|
string |
rpk profile to use. |
|
- |
Enable verbose logging. |