Interface: KeyObject

February 22, 2025 ยท View on GitHub

๐Ÿ’— Help the project

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.

KeyObject is a representation of a key/secret available in the Node.js runtime. You may use the Node.js runtime APIs createPublicKey, createPrivateKey, and createSecretKey to obtain a KeyObject from your existing key material.

Properties

type

โ€ข type: string