APIKeyValidatorService

CreateAPIKeyReq

Changed on

Validates an API key.

post/v1/auth/api-key/validate

Request

  • Base URL
    https://api.endorlabs.com
  • URL
    https://api.endorlabs.com/v1/auth/api-key/validate
  • Auth
    none declared

Request body

keystring required

The unique identifier of the API key.

namespacestring

The namespace the API key belongs to. A caller that mints a derived token binds it to this namespace, so the platform can vouch for the scope of the derived token instead of trusting a scope the caller supplies.

secretstring required

The secret associated with the provided API Key.

validboolean

Valid returns if the API key and secret pair are valid.

Response

A successful response.

keystring required

The unique identifier of the API key.

namespacestring

The namespace the API key belongs to. A caller that mints a derived token binds it to this namespace, so the platform can vouch for the scope of the derived token instead of trusting a scope the caller supplies.

secretstring required

The secret associated with the provided API Key.

validboolean

Valid returns if the API key and secret pair are valid.

Changes