method KubernetesProvider.prototype.authHeader
KubernetesProvider.prototype.authHeader(): Promise<string>

Resolves the bearer token, reading the projected file when no explicit token was configured.

Return Type

Promise<string>

The Authorization header value

Usage

import { KubernetesProvider } from "service-discovery-plugin/src/index.ts";