As a CentOps Admin
I want to have a pre-configured Admin API Key
So that I can authenticate and call the Admin endpoints on the CentOps API
Background
Currently, API Key authentication is implemented but it only works for participants using the Public API. This implementation validates API Keys provided in the HTTP header against the participants in the Cosmos collection.
Acceptance Criteria
[ ] Should have a separate authentication scheme that also uses ApiKey scheme purely for admins
[ ] Should use Admin API Key provided through app configuration (environment variable or appsetting)
[ ] Should return 401 Unauthorized if the API Key does not match
[ ] Should return 401 Unauthorized if the API Key is missing
As a CentOps Admin I want to have a pre-configured Admin API Key So that I can authenticate and call the Admin endpoints on the CentOps API
Background
Currently, API Key authentication is implemented but it only works for participants using the Public API. This implementation validates API Keys provided in the HTTP header against the participants in the Cosmos collection.
Acceptance Criteria