A profile refers to credentials, i.e. username and token. Default profile is named 'default'.
The system is looking for specified profile as follows:
it looks into working directory to find a configuration file (local configuration),
if the file doesn't exist it looks into user directory to find it (global configuration).
The best way to manage profiles is to have dstack CLI tools installed. These tools are written in Python 3,
so you have to install dstack support. In the case of PyPI you should type
$ pip install dstack
or
$ conda install -c dstack.ai dstack
We recommend to use local (virtual) environment to install the package.
You can use this command in console:
$ dstack config list
to list existing profiles or add or replace token by following command
$ dstack config add <PROFILE>
or simply
$ dstack config add
if profile is not specified 'default' profile will be created. The system asks you about token
from command line, make sure that you have already obtained token from the site.