auth
command is used to authenticate the CLI to the Scale API. This is a required step before using the Scale Registry. It is not required to work with Scale Functions locally.
Login
To login to the Scale API, run the following command:The
scale login
command is an alias for scale auth login
. You can use either command to login to the Scale API.Using an API Key
To login to the Scale API using an API Key, run the following command:You can also use the
SCALE_API_KEY
environment variable to login to the Scale API using an API Key.