Application Keys with dots (".") in the value cannot be edited/deleted

Solution Verified - Updated -

Issue

The system is allowing the creation of Application Keys containing a dot in the name (e.g. "key.test") but when we try to delete this same app key it is not allowed returning an error (see below). Either using the "Application Key Delete" API or through the UI Admin Portal it is not possible to delete the application key.

[be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] Started DELETE "/admin/api/accounts/4/applications/12/keys/testkeywith2.dot.xml" for 10.0.xx.yy at 2021-09-17 18:48:37 +0000
[be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] 
[be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] ActionController::RoutingError (No route matches [DELETE] "/admin/api/accounts/4/applications/12/keys/testkeywith2.dot.xml"):
[be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] 
[be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] vendor/bundle/ruby/2.5.0/gems/actionpack-5.0.7.2/lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
(...)
[be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] /opt/rh/rh-ruby25/root/usr/local/bin/bundle:23:in `load'
[be06b366-c62b-41c9-8992-44f99b2448a7] [3scale-admin.apps.domain.com] [10.0.xx.yy] /opt/rh/rh-ruby25/root/usr/local/bin/bundle:23:in `<main>'
10.0.xx.yy - - [17/Sep/2021:18:48:37 +0000] "DELETE /404 HTTP/1.1" 404 - 0.0104

Environment

  • Red Hat 3scale API Management
    • 2.10 On-Premises

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content