Skip to content

WrappedKeyOptions

WrappedKeyOptions<K> = object

Defined in: src/codecs/wrapped/index.ts:170

Construction options for createWrappedKeyId.

K extends WrappedKind

optional allowDuplicateBrand?: boolean

Defined in: src/codecs/wrapped/index.ts:176

If true, silences the duplicate-brand warning in non-production environments.


keys: [WrappingKey, ...WrappingKey[]]

Defined in: src/codecs/wrapped/index.ts:174

Non-empty ordered wrapping keyring. The first entry is current (used by wrap); all entries are tried on unwrap. Duplicate operator secrets are rejected at construction.


kind: K

Defined in: src/codecs/wrapped/index.ts:172

Integer kind for the codec — fixed for the lifetime of the codec. Drives the JS value type (number for 32-bit, bigint for 64-bit).