API keys for scripts and tools

Let a script or CI job read evidence or start scans without a person signing in.

4 minYou need: Administrator
  1. Open Settings → API keys and press New API key

  2. Name it and choose its access

    Read only (evidence, findings, exports) or Read and act (also start scans and manage connections). A key is never an administrator.

  3. Choose when it expires

    30 days, 90 days, one year, or never.

  4. Copy the key now

    It is shown once. ProofLayer stores only a fingerprint, so a lost key cannot be recovered. Create a new one instead.

  5. Use it

    Example
    curl -H "Authorization: Bearer plk_your_key_here" https://your-prooflayer/api/findings/page?result=fail

    Replace the address with your ProofLayer API address. Lists come back a page at a time: follow the next value in each answer to get the rest. (/api/findings without /page returns only the newest 2,000.)

Rotate a key

  1. Create a new key.
  2. Switch your tool over to it.
  3. Revoke the old one. It stops on its next call.

The page shows each key’s calls over the last 30 days, so you can spot an unused or unexpectedly busy key.