Metadata for a key that has been stored, encrypted, on the wrapped keys backend service Returned by listEncryptedKeyMetadata; to get full stored key data including ciphertext and dataToEncryptHash use getEncryptedKey()

interface StoredKeyMetadata {
    id: string;
    keyType: KeyType;
    litNetwork: LIT_NETWORKS_KEYS;
    memo: string;
    pkpAddress: string;
    publicKey: string;
}

Hierarchy (view full)

Properties

id: string

The unique identifier (UUID V4) of the encrypted private key

keyType: KeyType

The type of key that was encrypted -- e.g. ed25519, K256, etc.

litNetwork: LIT_NETWORKS_KEYS

The LIT network that the client who stored the key was connected to

memo: string

A (typically) user-provided descriptor for the encrypted private key

pkpAddress: string

The LIT PKP address that is associated with the encrypted private key

publicKey: string

The public key of the encrypted private key