- Preparing search index...
- The search index is not available
Documentation
Properties
createKey
Type declaration
-
- (name: string, type: KeyType, size?: number): Promise<KeyInfo>
-
Parameters
-
name: string
-
-
Optional
size: number
exportKey
Type declaration
-
- (name: string, password: string): Promise<Multibase<"m">>
-
Parameters
-
name: string
-
password: string
exportPeerId
findKeyById
findKeyByName
importKey
import
Key
: ((name
: string, pem
: string, password
: string) => Promise<KeyInfo>)
Type declaration
-
- (name: string, pem: string, password: string): Promise<KeyInfo>
-
Parameters
-
name: string
-
pem: string
-
password: string
importPeer
listKeys
removeKey
renameKey
Type declaration
-
- (oldName: string, newName: string): Promise<KeyInfo>
-
Parameters
-
oldName: string
-
newName: string
rotateKeychainPass
rotate
Keychain
Pass
: ((oldPass
: string, newPass
: string) => Promise<void>)
Type declaration
-
- (oldPass: string, newPass: string): Promise<void>
-
Parameters
-
oldPass: string
-
newPass: string
Create a key in the keychain.
Example