Sandor Molnar created KNOX-3301:
-----------------------------------
Summary: Tokens with API_KEY type display unknown icon
Key: KNOX-3301
URL: https://issues.apache.org/jira/browse/KNOX-3301
Project: Apache Knox
Issue Type: Task
Reporter: Sandor Molnar
Fix For: 3.0.0
Attachments: image-2026-04-21-09-52-49-559.png
Create an APIKEY token:
{noformat}
~ $ curl -iku admin:admin-password
http://localhost:8443/gateway/sandbox/apikey/api/v1/auth/key
HTTP/1.1 200 OK
Date: Tue, 21 Apr 2026 07:43:39 GMT
Set-Cookie: KNOXSESSIONID=node0djqrg1q6wk1gr50j5eb1346k118.node0;
Path=/gateway/sandbox; Secure; HttpOnly
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: rememberMe=deleteMe; Path=/gateway/sandbox; Max-Age=0; Expires=Mon,
20-Apr-2026 07:43:39 GMT; SameSite=lax
Content-Type: application/json
Content-Length: 194
{"key_id":"70c03033-a7a7-4a9c-bb47-5649b5363b08","api_key":"TnpCak1ETXdNek10WVRkaE55MDBZVGxqTFdKaU5EY3ROVFkwT1dJMU16WXpZakE0OjpOelU0TURCbFl6TXRaV000WXkwME16RTNMV0l5WTJFdE1qaGlZVGc0T1dVelpUSmk="}
{noformat}
Check it on the token management page:
!image-2026-04-21-09-52-49-559.png|height=400!
The type icon for {{API_KEY}} is missing.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)