Bootstrap FreeKB - Kong Enterprise Edition (KongEE) - Install license
Kong Enterprise Edition (KongEE) - Install license


This assumes you have created your Kong-Admin-Token. The following curl command can be used to get the license report for KongEE.

curl
--request GET
--header "Kong-Admin-Token: abc123"
--url https://kong.example.com/license/report

 

Something like this should be returned.

{
    "counters": {
        "req_cnt": 37808559
    },
    "db_version": "postgres 10.6",
    "kong_version": "1.3.0.2-enterprise-edition",
    "license_key": "0123456789abcdefgh_abcdef123456789",
    "rbac_users": 263,
    "services_count": 266,
    "system_info": {
        "cores": 4,
        "hostname": "kong-admin-1.3.0.2-5d7c89d4bb-abcde",
        "uname": "Linux x86_64"
    },
    "workspaces_count": 217
}

 

Let's say you've received a new license from Kong. Here is how you would install the new license using curl, replacing the data values with the appropriate values from the license.json file you received from Kong.

curl
--request POST
--header "Kong-Admin-Token: abc123"
--url https://kong.example.com/licenses
--data '{
  payload='{
    "license":{
      "payload":{
        "admin_seats":"1",
        "customer":"Example Company",
        "dataplanes":"1",
        "license_creation_date":"2021-09-30",
        "license_expiration_date":"2022-09-30",
        "license_key":"abc123",
        "product_subscription":"Konnect Enterprise",
        "support_plan":"None"},
      "signature":"xyz123",
      "version":"1"}
  }'
}'

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 38ae85 in the box below so that we can be sure you are a human.