Skip to main content
Coral has two editions: the Community Edition and the Enterprise Edition. The container image contains both. It runs as the Community Edition until you add a License. In these docs, the badge marks a feature or a configuration key that needs the Enterprise Edition. The Enterprise Edition is for a shared server that you host. The desktop app always runs as the Community Edition.

Compare the editions

To buy a License or ask for a trial, contact us.

Turn on the Enterprise Edition

  1. Get a License from Coral. A License is one line of text.
  2. Put the License in an environment variable of the Coral process, such as CORAL_LICENSE. On Kubernetes, add it to the Secret that holds Coral’s other secrets.
  3. Add a [license] table to config.toml that names the variable:
    You can also put the License itself in key, instead of key_env. Set one of the two. With key, anyone who can read config.toml can copy the License.
  4. Restart Coral.
When Coral starts, it logs the customer named in the License, and its expiry date. See [license] for each key. Coral checks the License on your server. It sends nothing to Coral or to another service, so a License works offline and in an air-gapped network. If the License fails the check, Coral does not start. The error names license and says what is wrong. To run as the Community Edition instead, remove the [license] table.

Kinds of License

A License is a Commercial License or an Evaluation License. Each kind has an expiry date.

Commercial License

A Commercial License covers each Coral build released on or before its expiry date, regardless of the current date.
  • After the expiry date, the builds that the License covers keep the Enterprise Edition.
  • A build released after the expiry date does not start with the License. Renew the License before you upgrade to that build.
From 60 days before the expiry date, Coral logs a warning at each startup.

Evaluation License

An Evaluation License is for a trial. It sets the Enterprise Edition until the end of its expiry date, in UTC.
  • After the expiry date, each server stops within a minute. It does not start again with the License.
  • A build released after the expiry date does not start with the License.
  • To keep the Enterprise Edition, add a Commercial License before the expiry date. To run as the Community Edition, remove the [license] table.
Coral logs the expiry date as a warning at each startup.

Run without a License

Without a License, the Enterprise Features do not work, but Coral deletes nothing. For example, a kv-v2 secret store shows as Needs Enterprise, and each read from it fails. The store, its grants and the accounts that use it stay. When you add a License and restart Coral, the store works again.

Build Coral from source

A plain cargo build builds the coral binary under the Apache 2.0 license. That binary has no Enterprise Features. A secret store of an Enterprise kind shows as Not in this build. A build from source does not accept a License that Coral sells. To run the Enterprise Edition, use a released build.