Access Token Management
In the deploy/platform/tokens directory there are two files:
- admin.csv - these are tokens for model management API, adding models, redeploy, FineTune
- user.csv - these are tokens for everything else
To generate a new batch of tokens for use, you can use the command:
docker run --rm compressa/compressa-auth:0.3.10 /app/token-generate
As a result, X tokens will be returned in the command line, which can be placed in files
After changing user.csv, admin.csv files
You need to restart the authorization service using the commands:
cd compressa-deploy
docker compose restart auth