Authentication
When using the CLI you will need to log in to your Calyptia Cloud account prior to getting started and
set up an API token.
Generate a token (API key) from the settings page at cloud.calyptia.com.
Once you have your API token ready, the first command you would want to run is config set_token
calyptia config set_token TOKEN
Alternatively, you can set the CALYPTIA_CLOUD_TOKEN environment variable as:
export CALYPTIA_CLOUD_TOKEN=TOKEN
Or you can also pass the token on each command, as an example:
calyptia get members --token TOKEN
You can check your currently setup token with the following command:
calyptia config current_token
Once your token is setup, all the subsequent calyptia
command calls should be bound to the
project on which the provided token belongs to.
Updated 5 months ago
Did this page help you?