LogoLogo
  • Welcome
  • Getting Started
    • Create a Workspace
    • Join a Workspace
    • Manage your Workspace
  • User Guides
    • Platform User Guide
      • Creating a Platform
      • Creating Chips
    • Fleet User Guide
      • Creating a Fleet
      • Enrolling Machines
        • Enrolling ESP32 Devices
      • Managing a Fleet
    • Workflow User Guide
      • Creating a Workflow
      • Packages and Releases
      • Running Workflows
      • Managing Workflows
  • Operator Guides
    • Generate Chassy Tokens
    • Integrating with GitHub
      • Workflow Run Action
      • Upload Action
  • Tutorials
    • Deploy an Artifact
  • Reference
    • Workflow Components
      • Steps
    • Hardware Hierarchy
    • Integrations
      • AWS
      • GitHub
      • Docker Hub
      • Slack
      • Wasabi
    • Chassy Component for ESP32
Powered by GitBook
On this page
  • How to generate Chassy Tokens
  • Providing a token to your GitHub actions
  1. Operator Guides

Generate Chassy Tokens

Learn to generate Chassy tokens for use with our GitHub actions

Last updated 9 days ago

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.

How to generate Chassy Tokens

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.

Providing a token to your GitHub actions

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:

env:
    CHASSY_TOKEN: ${{ secrets.CHASSY_TOKEN }}
Video tutorial alternative
The Generate Chassy Token section is below the Permissions section on the Settings tab.
Use the Copy button on the right of the censored token.