Module auth

Source
Expand description

Authentication helpers shared by the gRPC and REST APIs.

§Purpose

Provides simple API key validation used by API front-ends.

§Intended use

This module contains API-level authentication utilities only. It is not used by vpr-core.

Functions§

validate_api_key
Validates the provided API key against the expected API key from environment.