multi-party-computation-controller-api
    Preparing search index...

    Variable ConfigKeySchemaConst

    ConfigKeySchema: {
        CLIENT_BEARER_TOKEN: "CLIENT_BEARER_TOKEN";
        CRYPTOGRAPHIC_ENGINE_BEARER_TOKEN: "CRYPTOGRAPHIC_ENGINE_BEARER_TOKEN";
        CRYPTOGRAPHIC_ENGINE_HOST: "CRYPTOGRAPHIC_ENGINE_HOST";
        CRYPTOGRAPHIC_ENGINE_PORT: "CRYPTOGRAPHIC_ENGINE_PORT";
        LOG_DIRECTORY: "LOG_DIRECTORY";
        NODE_ENV: "NODE_ENV";
        PORT: "PORT";
        REDIS_HOST: "REDIS_HOST";
        REDIS_PORT: "REDIS_PORT";
    } = ...

    Exhaustive map of environment variable names consumed by the application. Using this object instead of raw strings prevents typos and enables IDE auto-completion across the codebase.

    Type Declaration

    • ReadonlyCLIENT_BEARER_TOKEN: "CLIENT_BEARER_TOKEN"

      Bearer token that client backends must send in Authorization header.

    • ReadonlyCRYPTOGRAPHIC_ENGINE_BEARER_TOKEN: "CRYPTOGRAPHIC_ENGINE_BEARER_TOKEN"

      Bearer token sent to the Rust controller engine via gRPC metadata.

    • ReadonlyCRYPTOGRAPHIC_ENGINE_HOST: "CRYPTOGRAPHIC_ENGINE_HOST"

      Hostname or IP address of the Rust controller engine gRPC server.

    • ReadonlyCRYPTOGRAPHIC_ENGINE_PORT: "CRYPTOGRAPHIC_ENGINE_PORT"

      Port of the Rust controller engine gRPC server.

    • ReadonlyLOG_DIRECTORY: "LOG_DIRECTORY"

      Directory where daily log files are written. Defaults to logs.

    • ReadonlyNODE_ENV: "NODE_ENV"

      Node.js runtime environment (production | development | test).

    • ReadonlyPORT: "PORT"

      TCP port on which the HTTP server listens. Defaults to 3000.

    • ReadonlyREDIS_HOST: "REDIS_HOST"

      Hostname or IP address of the Redis instance used by BullMQ and key-metadata storage.

    • ReadonlyREDIS_PORT: "REDIS_PORT"

      Port of the Redis instance.