What a license key is
A license key covers one product and the organization identifiers that you declare for it. A product accepts the key only for those organizations, and only for itself. Store the key as a secret, and keep it out of source control.
What the product reads from the environment
In production, most products do not start without
ORGANIZATION_IDS.
How the check runs
The product sends its own name, the license key and one organization identifier to
https://license.lerian.io. Lerian operates that service. Open outbound HTTPS to that host from every workload that runs a licensed product, or every check fails. A workload that sets IS_DEVELOPMENT to true needs the same rule for https://license.dev.lerian.io.
The product validates at startup, then repeats the check in the background at a fixed interval. One attempt waits up to five seconds for an answer.
Unless ORGANIZATION_IDS is global, the product checks the X-Organization-Id header of each request against ORGANIZATION_IDS.
What each result allows
When the license service does not answer
Error codes
Each failure carries a stable code. The License Manager error list gives the codes and the messages that come with them.

