SecretEnvelope is the envelope used for storing encrypted secrets.

interface SecretEnvelope {
    name: Uint8Array;
    nonce: Uint8Array;
    pk: Uint8Array;
    value: Uint8Array;
}

Properties

Properties

name: Uint8Array

Name is the encrypted secret name.

nonce: Uint8Array

Nonce.

pk: Uint8Array

Pk is the ephemeral public key used for X25519.

value: Uint8Array

Value is the encrypted secret value.