diff --git a/website/content/docs/nia/enterprise/license.mdx b/website/content/docs/nia/enterprise/license.mdx index 99f02a6019..ba786c3284 100644 --- a/website/content/docs/nia/enterprise/license.mdx +++ b/website/content/docs/nia/enterprise/license.mdx @@ -23,21 +23,21 @@ Choose one of the following methods (in order of precedence) to set the license: 1. Set the `CONSUL_LICENSE` environment variable to the license string. -```shell-session -export CONSUL_LICENSE= -``` + ```shell-session + export CONSUL_LICENSE= + ``` 1. Set the `CONSUL_LICENSE_PATH` environment variable to the path of the file containing the license. - ```shell-session - export CONSUL_LICENSE_PATH=// - ``` + ```shell-session + export CONSUL_LICENSE_PATH=// + ``` 1. Configure the [`license_path`](/docs/nia/configuration#license_path) option in the configuration file to point to the file containing the license. -```hcl -license_path = "//" -``` + ```hcl + license_path = "//" + ``` ~> **Note**: the [options to set the license and the order of precedence](/docs/enterprise/license/overview#binaries-without-built-in-licenses) are the same as Consul Enterprise server agents. Visit the [Enterprise License Tutorial](https://learn.hashicorp.com/tutorials/nomad/hashicorp-enterprise-license?in=consul/enterprise) for detailed steps on how to install the license key.