interface KeychainInit {
    dek?: DEKConfig;
    pass?: string;
    selfKey?: string;
}

Hierarchy

  • KeychainInit

    Properties

    Properties

    dek?: DEKConfig

    This key configures how the keychain encryption key is derived from the configured password

    pass?: string

    The password is used to derive a key which encrypts the keychain at rest

    selfKey?: string

    The 'self' key is the private key of the node from which the peer id is derived.

    It cannot be renamed or removed.

    By default it is stored under the 'self' key, to use a different name, pass this option.

    Default

    'self'