Keys created via API not displayed in dashboard

I implemented my own auhtentication method which creates keys via the following method: POST http://:8080/tyk/keys/

But when I go to the dashboard, my keys are not displayed on the “View keys” page, while keys requested via the dashboard (via the “add key” button) are displayed.

When I request a list of keys via the API (GET http://:8080/tyk/keys/) both the keys created via API and the dashboard are displayed. When I compare the details of the keys (GET http://:8080/tyk/keys/) they look exactly the same (same API-id, same settings, same everything). Both keys work fine for authentication and also API usage data in the dashboard works fine for both keys.

I there a reason why the dashboard only displays keys generated via API?

Hi Jurrian,

you would need to prepend the keys with the org_id.

Let me know if this helps.

Thanks,
Kos @ Tyk Support Team

Thank you, this works. Unfortunately, i need the keys to be equal to the string, so i’ll have to find a solution for this.

Thanks for the information. Maybe this should be added to the documentation?

Hi Jurrian,

We will update the documentation.

Thanks,
Kos @ Tyk Support Team