Skip to content

Commit 2a8d030

Browse files
authored
DOC-1116 Load license enterprise license key from environment variable (#204)
1 parent b635425 commit 2a8d030

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

modules/get-started/pages/licensing.adoc

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,31 @@ When you have downloaded the license key, you can apply it in the following ways
3333
If you have a license key file, either:
3434

3535
- Save the license key to the following directory: `/etc/redpanda/redpanda.license`.
36-
- Set the environment variable: `$\{REDPANDA_LICENSE_FILEPATH}` to point to the file where the license key is stored.
36+
- Set the environment variable `REDPANDA_LICENSE_FILEPATH` to point to the file where the license key is stored.
3737

38-
=== Apply the license using an inline license string
38+
=== Apply the license using a license string
3939

40-
If you do not have a license key file, run the following command using the full license string.
40+
If you do not have a license key file, either:
4141

42+
- Set the environment variable `REDPANDA_LICENSE` to the value of the full license string.
43+
- Run the following command using the full license string.
44+
+
4245
```bash
4346
rpk connect run --redpanda-license <license-string> ./<connect-configuration>.yaml
4447
```
45-
48+
+
4649
Replace the following placeholders:
4750

48-
- `<license-string>`: The full license key string.
49-
- `<connect-configuration>`: The name of your Redpanda Connect configuration file.
51+
** `<license-string>`: The full license key string.
52+
** `<connect-configuration>`: The name of your Redpanda Connect configuration file.
5053

5154
== Verify a license
5255

5356
Redpanda Connect checks the license key status at runtime. If the license key is unavailable or has expired, you are blocked from using enterprise connectors.
5457

55-
You can view the license key’s expiration date at any time in the Redpanda Connect logs.
58+
You can view the license key’s expiration date at any time in the Redpanda Connect logs:
59+
60+
```
61+
INFO Running main config from specified file @service=benthos benthos_version=4.50.0 path=connect_2.yaml
62+
INFO Successfully loaded Redpanda license @service=benthos expires_at="2025-04-18T15:41:56+01:00" license_org=67XXX license_type="enterprise"
63+
```

0 commit comments

Comments
 (0)