ValystrumHelp
Sign in

Issue an auditor API key

Plans
Every plan
Where
Settings
Updated

An auditor API key reads your organisation through the API without a sign-in, with a viewer's rights. Owners and admins issue keys under Settings, Auditor API.

Before you start

  • You need the owner or admin role.
  • Decide how long the key should live. An audit engagement usually has an end date; give the key the same one.
  • A key is a credential: anyone who holds it reads what a viewer reads. Store it in a secret manager, never in a document or a ticket.

Issue a key

  1. Open Settings and choose Auditor API. The page opens with how many keys are live, for example "No auditor key is live."
  2. Press Issue a key.
  3. Fill in:

    • Label: who or what the key is for, such as "ISO audit 2026". Required.
    • Scope: read (evidence and reports) for an auditor or a script. scim is a different kind of key, for an identity provider that creates and removes users.
    • Expires: a date such as 2026-12-31, or empty for no expiry. A date in the past is accepted and the key is then issued already expired, so check the date.
  4. Press Issue a key in the form.
  5. Valystrum shows the key once, under "Copy the secret now: it will not be shown again", with a Copy button. Copy it, then press I have stored it.

The key is listed by its first characters, its label and scope, when it was issued, when it was last used, and when it expires.

Use the key

Send it as a bearer token:

curl -H "Authorization: Bearer cca_YOUR_KEY" \
  "https://app.valystrum.io/api/v1/YOUR_ORG/findings"

A read key reads; any write with it is refused with 403. It works only for the organisation that issued it.

Revoke a key

Press Revoke on the key's row, then Yes, revoke. The key stops working at once. A revoked key cannot be brought back; issue a new one.