How to use the apikey
command in the Scale CLI.
apikey
command is used to manage API keys in the Scale CLI.
API keys are used to programmatically authenticate with the Scale API, and are associated with a user’s account.
API Keys can be created, listed, and deleted, but not edited. API Keys also do not expire, and can be used indefinitely.
#scale
channel in our Discord and let us know!<ID>.<Secret>
. This means that the ID
of an API Key is the string that appears
before the period (.
), and the Secret
of an API Key is the string that appears after the period (.
).--format
flag.<ID>.<Secret>
. This means that the ID
of an API Key is the string that appears
before the period (.
), and the Secret
of an API Key is the string that appears after the period (.
).--format
flag.--api-key
flag when authentication with the Scale CLI,
or you can set the SCALE_API_KEY
environment variable to the API Key you want to use when running the same command.
Once you’ve authenticated with an API Key, you can use the Scale CLI to interact with your Scale account.