Licensing

Create and manage license keys that control who can install your Composer and npm packages.

Overview

Licenses are the primary way to control who can access your packages. Each license generates a unique key that customers use to authenticate with your Privato registry.

Manually creating a license

To create a new manual license:

  1. Navigate to the "Licenses" tab for your package
  2. Click "New license"
  3. Configure the license options
  4. Click create

License options

Each license has the following set of options:

  • Customer: The customer the license belongs to
  • Key: The license key
  • Release channel: Configure which level of access the license has

How customers use license keys

Customers authenticate with Composer or npm using their email address as the username and their license key as the password. The customer portal shows them the exact commands, and they can roll a new key from the portal if one leaks.

For a full walkthrough of auth.json, CI and expiry, see Composer license keys explained.