Ability to toggle access to API endpoints grouped together for functionality based control #10326
Closed
3 tasks done
Labels
kind/enhancement
A net-new feature or improvement to an existing feature
Checklist
Description
While searching for ways to limit access to the API endpoints the current option I came across was to provide route based access through
Authorizations
in the API config. This allows users to set authorizations credentials for specific routes. I think the ability to expose or disallow a group of endpoints can also be valuable.Just as for many ethereum based chains have the ability to allow access to a set of API's by setting the following config
Grouping together IPFS API's based on their function/use case and enabling/disabling them through config can allow users to control the endpoints based on their needs and application and allow them to just expose only those.
An Example could be
which would only allow apis related to
This would let the user access only these apis and prevent config or other such groups of api from being used.
This could also be extended to the Authorizations config by allowing access authorized access to a group of API endpoints instead of having to list out all the needed API's every time.
Happy to work on this.
Thank you
The text was updated successfully, but these errors were encountered: