Skip to content

Function: generateSshKeyPair() ​

ts
function generateSshKeyPair(options?): Promise<SshKeyPair>;

Generates an unencrypted, OpenSSH-formatted Ed25519 key pair.

Parameters ​

ParameterType
options?GenerateSshKeyPairOptions

Returns ​

Promise<SshKeyPair>