function getDebugKey
getDebugKey(): string

Diagnostic key gating the verbose /health response. Empty when unset, in which case /health only ever returns the plain liveness reply. Holding the key reveals non-private build/runtime diagnostics (commit, build time) that are useful for operators but needlessly helpful to an attacker.

Return Type

string

Usage

import { getDebugKey } from "docs/config.ts";