property KubernetesDiscoveryOptions.token

Bearer token, used verbatim.

Omit it in-cluster and the provider reads the projected service-account token instead, re-reading it periodically because Kubernetes rotates it.

Type

string

Usage

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