1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00
unleash.unleash/website/docs/using-unleash/deploy/license-keys.mdx

84 lines
3.7 KiB
Plaintext
Raw Normal View History

---
2025-02-10 16:53:27 +01:00
title: License Keys
---
2025-02-10 16:53:27 +01:00
:::note Availability
2025-02-10 16:53:27 +01:00
**Plan**: [Enterprise](https://www.getunleash.io/pricing) self-hosted | **Version**: `5.8+`
:::
2025-02-10 16:53:27 +01:00
Self-hosted Unleash Enterprise uses license keys to ensure you comply with the terms of your contract.
## License policy
2025-02-10 16:53:27 +01:00
License keys check compliance with the following aspects of the customer agreement:
- **Seat count**: the number of licensed users
- **Contract duration**: whether the license is within the contract expiration date
2025-02-10 16:53:27 +01:00
The seat count and contract duration parameters are encoded into the license key. Therefore, if you change your seat count or renew your contract, you must install a new license.
2025-02-10 16:53:27 +01:00
Each Unleash instance requires a separate license key. For example, a development or production instance must have separate keys.
:::warning
2025-02-10 16:53:27 +01:00
Reusing Unleash license keys across multiple installations is prohibited under the terms of your license.
:::
2025-02-10 16:53:27 +01:00
### License enforcement
2025-02-10 16:53:27 +01:00
:::note Availability
2025-02-10 16:53:27 +01:00
**Plan**: [Enterprise](https://www.getunleash.io/pricing) self-hosted | **Version**: `6.7+`
2025-02-10 16:53:27 +01:00
:::
2025-02-10 16:53:27 +01:00
#### Mandatory license
2025-02-10 16:53:27 +01:00
If you don't have a valid license, your Unleash instance enters read-only mode, and the only available action is to install a valid license.
2025-02-10 16:53:27 +01:00
#### License expiration
When your license expires, your Unleash instance enters read-only mode. The only available action is to install a new, valid license. Connected applications continue to operate and receive current feature flags, but users cannot make any changes to Unleash.
2025-02-10 16:53:27 +01:00
#### Seat count
If you reach the maximum number of seats included in your license, you cannot add new users until existing users are removed to stay within your limit.
2025-02-10 16:53:27 +01:00
The Unleash Admin UI displays a banner if you do not comply with your license. In addition, you receive a warning in advance if less than 10% of your available seats remain, your license is 30 days or less from expiration, or if you are running on a trial license.
2025-02-10 16:53:27 +01:00
## Get a new license
2025-02-10 16:53:27 +01:00
If you are a new customer, your account representative will provide the required license key as part of your self-hosted instance onboarding.
2025-02-10 16:53:27 +01:00
If you are an existing customer and are making changes to your agreement (changing seat count or the contract expiration), contact your account representative to obtain the required license key.
2025-02-10 16:53:27 +01:00
Alternatively, you can reach out to sales@getunleash.io.
2025-02-10 16:53:27 +01:00
## Check your current license
2025-02-10 16:53:27 +01:00
To check your current license in the Unleash Admin UI, go to **Admin** > **License**. If you have an active license, you'll see the following information:
- Customer name
- Plan
- Seat count
- License expiration date
2025-02-10 16:53:27 +01:00
## Update your license
2025-02-10 16:53:27 +01:00
### Using the Admin UI
2025-02-10 16:53:27 +01:00
In the Unleash Admin UI, do the following:
1. Go to **Admin** > **License**.
2. Paste the new license key and click **Update license key**.
After updating a license key, you may need to refresh your browser for the license warning banners to be removed.
2025-02-10 16:53:27 +01:00
### Using an environment variable
2025-02-10 16:53:27 +01:00
You can also install or update your license key on container deployment, using the environment variable `UNLEASH_LICENSE`. If you attempt to update your license with an invalid or older one, your existing license will remain in effect.
2025-02-10 16:53:27 +01:00
For security reasons, if using [Helm charts](https://github.com/Unleash/helm-charts) or Docker Compose to deploy Unleash, set up the license key as a secret and reference it in the Helm configuration [values.yaml](https://github.com/Unleash/helm-charts/blob/main/charts/unleash/values.yaml) files or in [docker-compose.yml](https://github.com/Unleash/unleash/blob/main/docker-compose.yml).
:::info
2025-02-10 16:53:27 +01:00
The default image references in the Helm chart point to open-source Unleash resources. To use Unleash Enterprise, you must manually update the image references to point to the appropriate _unleash-enterprise_ images.
:::