AuthenticationΒΆ

Before you can begin using the services provided by the platform, you need to set up authentication credentials. The easiest way is to use the CLI helper.

descarteslabs auth login

For non-interactive environments, one needs to set the DESCARTESLABS_CLIENT_ID and DESCARTESLABS_CLIENT_SECRET environment variables. These can be retrieved from the ~/.descarteslabs/token_info.json created from the login process or generated fresh through IAM.

export DESCARTESLABS_CLIENT_ID=...
export DESCARTESLABS_CLIENT_SECRET=...

You can test the configuration with the following.

descarteslabs auth env
descarteslabs auth groups