node-health-check icon indicating copy to clipboard operation
node-health-check copied to clipboard

Allow access keys to be checked via an `accessKey` option

Open GeoffThorpeFT opened this issue 4 years ago • 0 comments

A Question/Feature Request

What

Many of our apps use access keys from AWS or the FT ApiGateway. It would be great to have a accessKey option which would take a key value and check if that key was still enabled

Details

With the recently work from both the CloudEnablement and ApiGateway teams we are now reaching a point where it is possible to query an endpoint to establish if as access key is still active. It would be great to build on that by enabling an accessKey option in this library to allow the healthcheck to establish if the keys uses by the app are active. We would need to pass both the key origin (AWS or Tyk) as well as the keys into the accessKey option

Additional information

As a future thought if we extended this library's external interfaces to include Biz Ops then you would not need to explicitly pass types or keys as the list would be present in the Biz Ops System Record. (but I understand that does make Biz Ops a dependency of healthchecks :) )

GeoffThorpeFT avatar Oct 06 '21 08:10 GeoffThorpeFT