Docs Home
/
Zoo Developer Tools
/
CLI
/
login

zoo auth login

Authenticate with an Zoo host.

Options

--with-token
Read token from standard input
Default value: false
-w/--web
Open a browser to authenticate
Default value: false
-d/--debug
Print debug info
Default value: false
--host
Zoo API host to use for all commands (e.g., "api.zoo.dev" or "http://localhost:8888"). Overrides the configured default host
-h/--help
Print help (see a summary with '-h')

About

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 --host zoo.internal auth login --with-token < mytoken.txt

authenticate with a specific Zoo instance

$ zoo --host zoo.internal auth login

authenticate with an insecure Zoo instance (not recommended)

$ zoo --host http://zoo.internal auth login

See also

Found a typo?