Skip to main content

Setup

Sets identity services up

Examples​

Interactive: asks for the admin password twice, without echoing it (when OCTO_CLI_NEW_PASSWORD is not set):

octo-cli -c Setup -e "admin@example.com"

Automation: pipe the password in (e.g. from a secret store):

octo-cli -c Setup -e "admin@example.com" -ps

Options​

ShortLongRequiredDescription
-e--emailnoE-Mail of admin
-p--passwordnoDeprecated: password of the admin. A value on the command line ends up in the shell history and the process list.
Omit it to be prompted (hidden input), or use --password-stdin or the environment variable OCTO_CLI_NEW_PASSWORD.
-ps--password-stdinnoRead the admin password from standard input (one value; a trailing line break is removed)

Notes​

The admin password is read from a hidden prompt, from standard input (--password-stdin) or from the environment variable OCTO_CLI_NEW_PASSWORD, so it does not end up in the shell history or the process list. -p/--password is deprecated: it still works in this release but logs a deprecation warning; the date of its removal will be announced.