[elk 6.8.6] Unable to POST to api_key : current license is non-compliant for [api keys]

Hello,

I am trying to use the API Key authentication method on a newly installed 6.8.6 cluster. Basic authentication works fine but when I POST to ./api_key I get the following :

{
  "error" : {
    "root_cause" : [
      {
        "type" : "security_exception",
        "reason" : "current license is non-compliant for [api keys]",
        "license.expired.feature" : "api keys"
      }
    ],
    "type" : "security_exception",
    "reason" : "current license is non-compliant for [api keys]",
    "license.expired.feature" : "api keys"
  },
  "status" : 403
}

From what I understand of the tables in https://www.elastic.co/subscriptions, API Key is available in the basic license whch is what I have :

{
  "license" : {
    "status" : "active",
    "uid" : "aea2412c-9ded-4173-94d8-37de3465e9e0",
    "type" : "basic",
    "issue_date" : "2020-03-04T13:44:24.736Z",
    "issue_date_in_millis" : 1583329464736,
    "max_nodes" : 1000,
    "issued_to" : "elasticsearch6",
    "issuer" : "elasticsearch",
    "start_date_in_millis" : -1
  }
}

TIA,

...Louis

Hi there,

API Keys became available in basic license in 7.3.0, see
https://www.elastic.co/guide/en/elasticsearch/reference/current/release-notes-7.3.0.html and
https://github.com/elastic/elasticsearch/pull/42787

Hello @ikakavas,

Thanks for the quick reply. Indeed the table is correct, but according to the most current release and not 6.8.6 which is my current version.

Since 6.8.6 is only an interim step for us, this should not cause much concern.

Kind regards,

..Louis

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.