Installing a License Key on Members

To use Hazelcast Enterprise, you need to install a license key on all members in a cluster.

Hazelcast Enterprise license keys are required only for members. You do not need to set a license key for Java clients that are connected to members.
  • XML

  • YAML

  • Java

  • Spring XML

  • Environment Variable

  • JVM System Property

<hazelcast>
    <license-key>Your Enterprise License Key</license-key>
</hazelcast>
hazelcast:
  license-key: Your Enterprise License Key
Config config = new Config();
config.setLicenseKey( "Your Enterprise License Key" );
<hz:config>
    <hz:license-key>Your Enterprise License Key</hz:license-key>
</hz:config>
export HZ_LICENSEKEY=Your Enterprise License Key
-Dhazelcast.enterprise.license.key=Your Enterprise License Key