st2 login <username>

Authenticate user, acquire access token, and update CLI config directory

Arguments

NameDescription
usernameName of the user

Options

NameDescription
-h, --helpShow this help and exit
-j, --jsonPrint output in JSON format
-y, --yamlPrint output in YAML format
-p <PASSWORD>Password
-l, --ttl <TTL>The life span of the token in seconds. Max TTL configured by the admin supersedes this
-w, --write-passwordWrite the password in plain text to the config file (default is to omit it)