cli → zoo → auth

zoo auth login

Authenticate with an Zoo host.


Read token from standard input
Default value: false
The host of the Zoo instance to authenticate with. By default this is This assumes the instance is an https:// url, if not otherwise specified as http://
Open a browser to authenticate
Default value: false
Print debug info
Default value: false
Print help (see a summary with '-h')


Alternatively, pass in a token on standard input by using --with-token.

# start interactive setup
$ zoo auth login

# authenticate against a specific Zoo instance by reading the token from a file
$ zoo auth login --with-token --host zoo.internal < mytoken.txt

# authenticate with a specific Zoo instance
$ zoo auth login --host zoo.internal

# authenticate with an insecure Zoo instance (not recommended)
$ zoo auth login --host http://zoo.internal

See also