api-services-portal icon indicating copy to clipboard operation
api-services-portal copied to clipboard

Consumer API

Open ikethecoder opened this issue 1 year ago • 0 comments

API Services Portal Issue

User Story

As an API Consumer,
I want to be able to programmatically request access to an API
so that I can bulk create credentials.

Test Case

ENV

  • [ ] DEV
  • [ ] TEST
  • [ ] PROD

TESTCASE

EXPECTED

ACTUAL

ERROR

Notes

  • Consumer API will have endpoints such as /applications and /access, providing the equivalent functionality found on the Portal (requesting access, creating/editing an application, revoking access, updating certificates)
  • Request access to the APS Gateway and Directory Services Consumer API (this will issue the requestor credentials for accessing the Consumer API) - this will be a Personal Access Token that is bound to the logged in user
  • Have a response-rate-limiting plugin that limits the number of accesses that can be requested for a given day
  • Use the credentials to access the Consumer API
  • Introduce a new flow "kong-acl-pat", which will generate a Kong API Key that is associated with the requestor Consumer (as opposed to needing an Application)
  • The Consumer API will expect the Consumer information so that it can find the corresponding User in the Portal

ikethecoder avatar Jan 25 '24 22:01 ikethecoder