Module api_key

Source
Expand description

API Key Repository Module

This module provides the api key repository for the OpenZeppelin Relayer service. It implements a specialized repository pattern for managing api key configurations, supporting both in-memory and Redis-backed storage implementations.

§Repository Implementations

§API Keys

The api key system allows extending relayer authorization scheme through api keys. Each api key is identified by a unique ID and contains a list of permissions that restrict the api key’s access to the server.

Re-exports§

pub use api_key_in_memory::*;
pub use api_key_redis::*;

Modules§

api_key_in_memory
This module provides an in-memory implementation of api keys.
api_key_redis
Redis-backed implementation of the ApiKeyRepository.

Enums§

ApiKeyRepositoryStorage
Enum wrapper for different plugin repository implementations

Traits§

ApiKeyRepositoryTrait