function importInstanceKey
importInstanceKey(
kid: string,
privateJwk: JWK
): Promise<InstanceSigningKey>

Returns the stored private JWK privateJwk as a key to sign with.

Parameters

kid: string
privateJwk: JWK

Return Type

Usage

import { importInstanceKey } from "api/lib/jwt.ts";