License Management
License Management gives you granular control over what your customers can access, deploy, and use. You can restrict which application versions and artifacts each customer sees, and issue cryptographically signed license keys that let your application enforce usage limits and resource constraints at runtime.
Overview
Section titled “Overview”Distr’s License Management system has three components:
- Application Entitlements — Control which application versions each customer can deploy via Distr agents
- Artifact Entitlements — Control which artifacts and tags each customer can pull from your registry
- License Keys — Issue signed JWT tokens your application can verify to enforce usage limits and resource constraints
Entitlements and license keys are separate tools for different purposes. Entitlements control access at the Distr platform level. License keys carry arbitrary claims that your application reads and enforces independently of Distr.
Navigating the Licenses section
Section titled “Navigating the Licenses section”In the Vendor Portal sidebar, click Licenses to open the overview. The overview lists all your customer organizations, each showing a summary of their active entitlements and license keys.
Click any customer to open their detail view, which shows all three types — Application Entitlements, Artifact Entitlements, and License Keys — for that customer in one place.
Application Entitlements
Section titled “Application Entitlements”Application Entitlements control which versions of your applications customers can deploy through Distr agents. When a customer has an entitlement, they can only see and deploy the specific application versions it grants.
Key properties:
- Linked to a single customer and application pairing
- Grants access to one or more application versions
- Once a version is granted, it cannot be revoked
- Changes reflect immediately in the customer portal
Learn how to create and manage Application Entitlements in the Application Entitlements guide.
Artifact Entitlements
Section titled “Artifact Entitlements”Artifact Entitlements control which artifacts and tags customers can pull from your registry. You can grant access to specific tags, all current tags, or all current and future tags.
Key properties:
- Can include one or multiple artifacts
- Tag access options: specific tags, all tags, or all tags including future ones
- Once you create your first entitlement, customers only see artifacts they’re entitled to (before the first entitlement, all customers see everything)
- Changes reflect immediately in the customer portal
Learn how to create and manage Artifact Entitlements in the Artifact Entitlements guide.
License Keys
Section titled “License Keys”License Keys let you issue signed tokens that your application can verify to enforce usage limits, seat counts, feature flags, or any other runtime constraint you define.
A license key contains:
- Name — A unique identifier within your organization
- Description — Optional, for your own reference
- Payload — A JSON object with arbitrary custom claims (e.g.
{"seats": 10, "plan": "pro", "feature_x": true}) - Validity window — A
notBeforeandexpiresAtdate
License keys can optionally be scoped to a specific customer, or left unscoped for organization-wide use.
How tokens work
Section titled “How tokens work”When you request a token for a license key, Distr generates a signed JWT. The token includes your payload as custom claims alongside standard JWT fields (issuer, subject, audience, issued-at, not-before, expiration). It is signed with an Ed25519 private key configured on your Distr instance.
Your application verifies the token using the corresponding public key — no call back to Distr required. This makes license key verification fast and works in air-gapped or offline environments.
Learn how to create and manage License Keys — including how customers inject them into Docker, Helm, and registry-only deployments — in the License Keys guide.
Use cases
Section titled “Use cases”- Tiered pricing — Grant different application versions or artifact sets based on subscription tier
- Targeted updates — Deliver hotfixes or patches to specific customers only
- Early access — Provide access to pre-release versions for premium customers
- Seat enforcement — Embed seat or instance limits in a license key; your app reads and enforces them
- Feature flags — Encode which product features a customer’s plan includes in the key payload
- Offline validation — Customers in air-gapped environments can verify license tokens without contacting Distr
Getting started
Section titled “Getting started”- Ensure you’re on a Pro, Enterprise, or Pro Trial plan
- Navigate to Licenses in the Vendor Portal sidebar
- Select a customer to open their detail view
- Create an Application Entitlement, Artifact Entitlement, or License Key from that view