sysand auth#
Manage stored credentials for Sysand indexes. See guide Authenticate to an index.
Usage#
sysand auth [OPTIONS] <COMMAND>
Commands#
sysand auth status: Show the credentialssysandwill authenticate with. Never shows secrets.sysand auth login: Store a bearer token for an index.sysand auth whoami: Show who the index API identifies you as.sysand auth logout: Remove a stored index credential.
How stored credentials interact with SYSAND_CRED_* environment
variables, and how they are scoped and validated, is described in
Authentication.
The default index#
A sysand auth command run without an index URL targets the default
index, resolved in this order: the SYSAND_DEFAULT_INDEX environment
variable (comma-delimited), then an index marked default = true in
configuration, else https://sysand.com. login, logout, and
whoami target a single index, so if the default-index chain yields more
than one distinct index they error and ask for an explicit URL; status
only prints a note and marks no entry as the default. See
Configure a different default index
for how to set it.