Open the Workspaces page, select Security, then scroll to API keys.
Use https://app.cysmiq.com/workspaces for Cysmiq Cloud. For self-hosted, use your Cysmiq app URL.
Personal API keys are managed in your account security settings.
Admin access to the workspace is required
From the workspace sidebar, select Settings, then Security under Administration.
Workspace API keys are managed in workspace security settings.
2
Configure the key
Enter a descriptive Token name to identify the key’s purpose, such as “CI read-only” or “GitHub Actions”.Select the Scopes for the key. For a CI read-only key, keep read scopes enabled and leave write scopes disabled. Available read scopes include:
Read vulnerabilities (vulnerabilities:read): Access vulnerability lists and summary data
Read policy violations (policy-violations:read): Access policy violation lists and details
Read scans (scans:read): Access scan lists and status
Read organizations (organizations:read): Access organization lists and details
Read repositories (repositories:read): Access repository lists and details
Choose an Expires value. Shorter expirations are more secure but require more frequent rotation.
Personal key
Workspace key
Optionally restrict the key to specific workspaces using Restrict to workspaces. If no workspaces are selected, the key works across all workspaces you have access to.
Fill in the token name and choose expiration. Workspace restrictions are optional.
Workspace keys are automatically scoped to the current workspace.
3
Create and copy the key
Select Create API key. The key value is displayed once and cannot be retrieved later.
Copy the key immediately. It will not be shown again.
Select Copy to copy the key to your clipboard, then store it securely in a secrets manager or environment variable.