Generate Chassy Tokens
Learn to generate Chassy tokens for use with our GitHub actions
Last updated
Learn to generate Chassy tokens for use with our GitHub actions
Last updated
Chassy's GitHub actions require that you provide a Chassy token for authentication. This guide will get you up and running with the generation of Chassy tokens.
Only an Admin or Manager is allowed to generate Chassy Tokens
These tokens are secret and the compromise of such tokens would allow malicious actors to execute your workflows or upload packages to the Chassy Index on your behalf. It is strongly recommended to take care to keep them safe using best practices.
This guide assumes you already have a Workspace. If you do not, please consult our guide instructing how to Create a Workspace.
First, navigate to the settings tab in the Chassy Console. There, you will see your account settings.
To generate your token, just click the Generate button. Upon success, you'll see the censored token accompanied by a Copy button.
Clicking the Copy button will copy the token to your clipboard for use elsewhere.
To protect your secret, it is recommended that you use GitHub Secrets (see documentation) to store and reference your secret in Actions workflows.
If you named your secret "CHASSY_TOKEN", you can then define the CHASSY_TOKEN
environment variable as follows: