Guide · CRAClock · EU Cyber Resilience Act
How do CRAClock API keys work?
By the Ingenious AI team · Published 14 November 2026 · Reviewed 14 November 2026
Short answer: API keys let a paid plan's machinery run inside your own automation — a CI step that generates the release SBOM, a pipeline scan before deploy, a diff check in the release gate. Keys belong to the paying account and draw on the same plan meter as console work (scan credits: 50 on Pro, 500 on Team). A call is charged exactly once, after it returns a successful result; failed calls are free. Treat the key like any production secret: scoped to the account, stored in your CI's secret store, rotated if exposed.
Generate your free SBOM + readiness pack → Compare two releases free · See pricing
What is a CRAClock API key?
A CRAClock API key is the credential that lets a paid account's tooling run programmatically — SBOM generation, OSV scanning and SBOM diffing invoked from scripts and CI pipelines rather than the console. API access is a paying-customer entitlement, metered through the plan's own credit system so automated and manual usage share one budget. The key represents the account: its products, its credits, its evidence trail — which is why it is issued per account and handled with the same care as the console password it effectively extends.
Why an API at all: the release pipeline is the rhythm
Every routine this programme teaches has a natural home in the pipeline. SBOM generation belongs to the build — the manifest is right there. The scan belongs beside it — check the artefact's inventory before it deploys. The diff belongs in the release gate — flag the downgrade before the merge lands. Performed by hand in the console, these steps depend on a human remembering; performed by the pipeline, they happen on every release, including the rushed Friday one where memory fails. The API exists to move the rhythm from discipline to mechanism.
That is also the honest scope of what the API is for: it automates the artefacts and checks of the CRA programme inside the vendor's own workflow. It is not a data firehose or a reseller surface — the entitlement is the account's own products, its own inventories, its own evidence. Pipeline-shaped, product-shaped work is the design centre, and the metering follows it.
Metering: one budget, value-aligned
API calls draw on the plan's scan credits — the same meter as console scans — so the month's consumption view tells one story: this much automation, this much manual work, this much reserve. A call is charged exactly once, and only after a successful result: if the call fails — bad input, a transient error, an unreadable manifest — it is free. That rule aligns the meter with value received and makes client-side retry logic safe to write plainly: retry the failure, pay for the success, never pay twice for either.
Failed-calls-free also shapes how pipelines should be built: validate manifests locally where cheap, let the API call be the authoritative step, and treat a charged call's output as the artefact to store (the SBOM document, the scan result, the diff) — filed by the pipeline into the same evidence locations the console uses, so automation and manual work produce one continuous record rather than two archives.
What the pipeline should do with the outputs
Three integration patterns cover most vendors. Build-time generation: the pipeline posts the manifest, receives the CycloneDX SBOM, and stores it as a build artefact named by its serial — the per-release series, accumulated mechanically. Pre-deploy scan: the pipeline scans the release's SBOM and fails the deploy on a P1 policy you define — the delivery standard ('no known exploitable vulnerabilities') enforced as a gate rather than a hope. Release-gate diff: the pipeline diffs the candidate SBOM against the production one and surfaces P2 signals for human review — automation flagging, humans deciding.
Each pattern keeps the human judgements human: triage, acceptance, the exploitation mark. The API accelerates everything around those judgements — generation, matching, comparison, filing — which is the same division of labour as the console's, extended into the place releases actually happen. A pipeline that tries to automate the judgements themselves (auto-accepting findings, auto-closing signals) has misunderstood the programme in a way the evidence will eventually expose.
Key hygiene
An API key is a production secret with account scope: it can spend credits and read your products' security posture. Store it in the CI system's secret store, never in the repository, never in a build log, never in a ticket. Issue it for the account deliberately, note where it is deployed (which pipelines, which environments), and rotate it when staff or vendors change, when a log may have captured it, or on the same periodic rhythm as other production credentials. If a key is revoked — for example on a refund or account closure — pipelines using it fail closed, which is the correct behaviour to design around: surface the failure loudly rather than falling back to unscanned releases.
The hygiene paragraph is short because the rules are the standard ones; the failures in this area are never exotic. They are a key in a public repo, a key in a screenshot, a key whose owner left. Treat the CRAClock key like the deployment keys it lives beside, and it will never be the interesting part of an incident review.
API versus console: one programme, two doors
Nothing about the API changes the underlying duties or artefacts: the SBOM it returns is the same CycloneDX document, the scan the same OSV matching, the diff the same classification. The console remains the place of record — products, history, incidents, the vault — and API-produced artefacts should land in that same record, so a reviewer never has to ask which door a given SBOM came through. Design integrations to file outputs into the product's evidence as a matter of course.
Start with the console until the rhythm is understood by hand; automate the steps that have become routine, in the order they bore you: generation first, then the scan, then the gate diff. Vendors who automate before they understand produce pipelines that generate evidence nobody reads — the one outcome worse than no pipeline, because it looks like a control. The API rewards the same sequence as everything else in this programme: practise, then mechanise.
Your 5-action checklist
- Issue the API key from the paid account deliberately; record which pipelines and environments hold it.
- Store it only in CI secret stores — never in repositories, logs, screenshots or tickets — and rotate on staff changes or suspicion.
- Build the three patterns in order: build-time SBOM generation, pre-deploy scan, release-gate diff — filing every output into the product's evidence.
- Budget API consumption inside the plan's credit meter alongside console scans; failed calls are free, successes charged once.
- Keep judgements human: the API generates, matches and flags — triage, acceptance and the exploitation mark stay with people.
Work through the list in order. The free CRAClock job on the home page produces the SBOM, the dated checklist and the reporting runbook that several of these actions depend on.
Worked example: a pipeline that files its own evidence
A fictional vendor's release pipeline gained three steps. On build: the manifest is posted, the returned SBOM is stored as a build artefact under its serial — the per-release series now accumulates without a human touching it, 14 releases in the first quarter. Pre-deploy: the SBOM is scanned; the deploy fails if a P1 (OSV-confirmed, reachable-flagged by their policy list) appears — the gate fired twice in the quarter, both times on transitive bumps nobody had reviewed. On merge to main: the candidate SBOM is diffed against production's, and any P2 signal posts to the team's channel for a human decision.
Monthly API consumption ran at 11 credits on top of 13 console credits — inside Pro's 50 with the reserve intact. The founder's review note: 'The pipeline does the remembering now. We do the judging.' The evidence file for the quarter — SBOMs, scan results, gated deploys, reviewed diffs — wrote itself as a by-product of shipping, which is the API's entire argument in one sentence.
Keep going
- Free SBOM + readiness pack — paste a manifest, get the CycloneDX SBOM, checklist and runbook.
- SBOM change-to-impact analysis — diff two releases before you ship.
- CRAClock pricing — Free, Pro $29/month and Team $79/month.
- All CRAClock guides — the full library for small EU software vendors.
- CRAClock console — products, scans, incidents, vault and trust pages.
- How do CRAClock scan credits work?
- CRAClock free vs Pro vs Team: what do you get?
- How to redeem a CRAClock license key
- How to scan your products for vulnerabilities with OSV
- Getting started with CRAClock: your first hour
- Managing CRA duties for multiple products as one vendor
- How does live CVE monitoring work for a small vendor's products?
Frequently asked questions
Is the API available on the free tier?
API keys are a paying-customer entitlement — the free tier is the console's free job (SBOM, checklist, runbook) and the free /sbom-diff tool, which cover the baseline without any key. The API's purpose is automating a paid account's standing machinery inside your pipeline.
How are API calls charged?
Through the plan's credit system, shared with console usage: charged exactly once, after a successful result. Failed calls are free, so retries are safe and experimentation is not taxed. One meter means the monthly consumption view covers both doors.
What can the API do?
The programme's mechanical operations: generate an SBOM from a manifest, scan an inventory against OSV, diff two SBOMs — returning the same artefacts the console produces, for filing into the same evidence record. Judgements (triage, acceptance, incident marking) remain human acts in the console.
What happens to API access if a plan is refunded or cancelled?
Entitlements follow the account's standing: a revoked licence ends API access, and pipelines fail closed. Design for that — a failed API step should block or loudly flag the release, never silently skip the security steps and ship anyway.
How should we store the key?
In the CI secret store, scoped and inventoried like any production credential: note where it is deployed, rotate on changes, never commit it to a repository or print it in logs. The key spends your credits and reads your security posture — treat it accordingly.
CRAClock prepares drafts and evidence; regulatory submission is always performed by you in ENISA's Single Reporting Platform. This guide is general information about the duties CRAClock supports, not legal advice.