Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Create an API Token

API tokens let the sysand client publish projects and perform other authenticated package-index actions. Prefer trusted publishing over API tokens for existing projects when that fits your workflow.

Choose the Token Type

Sysand Index supports account tokens and project tokens. Project tokens are scoped to one existing project. Account tokens use your account permissions and can also be used to create a new project.

Create a Token

Account token
Project token
  1. Go to your Settings -> Tokens.

  2. Under Create new token, enter a descriptive name and choose an expiry.

  3. Press Create token.

  4. Copy the token from the confirmation dialog before closing it.

The token will look like sysand_u_abcdef0123456789abcdef0123456789.

Configure sysand to Use an API Token

To use the token with sysand, for example with sysand publish, configure the credential environment variables described in the sysand client documentation.

Replace the example bearer token with the token you copied.

Windows
macOS
Linux
$env:SYSAND_CRED_INDEX = "https://sysand.com/**"
$env:SYSAND_CRED_INDEX_BEARER_TOKEN = "sysand_u_abcdef0123456789abcdef0123456789"