Skip to content

edgible auth

Authenticate as a user, or create a device-scoped login.

Terminal window
# Interactive — prompts for password
edgible auth login --user-email you@example.com
# Non-interactive
edgible auth login \
--user-email you@example.com \
--user-password 'your-password'
FlagTypeDescription
--user-email <email>stringEmail address to authenticate as.
--user-password <password>stringPassword. Omit to be prompted.
--deviceflagCreate a device login instead of a user login.
--device-name <name>stringWhen using --device: the new device’s name.
--device-type <type>enumserving or gateway. Default serving.
--email <email>string(Device login) inviter’s email.
--password <password>string(Device login) device password — auto-generated if omitted.

On success, an access token, ID token, refresh token, and active organization are saved to the config file. Subsequent commands in the same shell or any new shell on the same machine pick them up automatically.

Clear local credentials.

Terminal window
edgible auth logout

No flags. The config file is left intact except for the auth tokens.

Switch the active organization. Only relevant if your account belongs to more than one.

Terminal window
edgible auth select-org

The CLI fetches your organizations and lets you pick interactively.