deriveBearerToken

Returns a stable, deterministic Bearer token for a Krill server.

The token is HMAC-SHA256([BEARER_HMAC_KEY], pin) rendered as a 64-character lowercase hex string. Stable across restarts and clients, which is why it is safe to persist in ClientPinStore and present on every authenticated HTTP/SSE call.

Returns a stable, deterministic Bearer token for a Krill server.

The token is HMAC-SHA256([BEARER_HMAC_KEY], pin) rendered as a 64-character lowercase hex string. Stable across restarts and clients, which is why it is safe to persist in ClientPinStore and present on every authenticated HTTP/SSE call.

Returns a stable, deterministic Bearer token for a Krill server.

The token is HMAC-SHA256([BEARER_HMAC_KEY], pin) rendered as a 64-character lowercase hex string. Stable across restarts and clients, which is why it is safe to persist in ClientPinStore and present on every authenticated HTTP/SSE call.

Returns a stable, deterministic Bearer token for a Krill server.

The token is HMAC-SHA256([BEARER_HMAC_KEY], pin) rendered as a 64-character lowercase hex string. Stable across restarts and clients, which is why it is safe to persist in ClientPinStore and present on every authenticated HTTP/SSE call.

Returns a stable, deterministic Bearer token for a Krill server.

The token is HMAC-SHA256([BEARER_HMAC_KEY], pin) rendered as a 64-character lowercase hex string. Stable across restarts and clients, which is why it is safe to persist in ClientPinStore and present on every authenticated HTTP/SSE call.