Skip to content

Licensing & Entitlement

0scp is a SaaS Contract on AWS Marketplace. Marketplace owns subscription and billing; a small seller-hosted licensing service maps your subscription to a license key your in-account stack validates at runtime.

When you subscribe, Marketplace redirects you to the 0scp registration page with a one-time token. The licensing service:

  1. Resolves the token to your CustomerIdentifier, ProductCode, and AWS account id (ResolveCustomer).
  2. Reads your entitlement — the contract dimension, quantity, and expiration (GetEntitlements).
  3. Mints an HMAC-signed license key and stores the record.

You can always view your current key, status, and plan in the Customer Portal (the authenticated /app portal).

Your in-account stack periodically validates the key:

GET {seller}/v1/license/validate?licenseKey=...&accountId=...
→ { valid, status, dimension, quantity, expiresAt }

Results are cached, and validation fails open during a transient outage so guardrails stay enforced.

Entitlement state maps directly to platform capability:

StatusBehavior
ACTIVEFull platform — detect, contain, budgets, autopilot.
EXPIREDRead-only. Dashboards and reports keep working; write/enforce actions return 402 Payment Required.
SUSPENDEDRead-only. Same as expired; typically follows an unsubscribe or billing issue.

Renewing or fixing billing in Marketplace triggers an SNS event to the licensing service, which restores ACTIVE automatically — no redeploy needed.