Skip to main content

Interface: SoftKeyWrapOptions

Defined in: packages/key-wrap/src/soft.ts:40

What createSoftKeyWrap needs.

Properties​

environment​

readonly environment: "staging" | "development" | "ci" | "integration" | "production"

Defined in: packages/key-wrap/src/soft.ts:42

The environment class, a deliberate value and never inferred from NODE_ENV.


log​

readonly log: KeyWrapLog

Defined in: packages/key-wrap/src/soft.ts:46

Receives the staging notice. Required, so the notice cannot be silently skipped.


secrets​

readonly secrets: SecretStore

Defined in: packages/key-wrap/src/soft.ts:44

Where the key encryption key is resolved from.


version?​

readonly optional version?: number

Defined in: packages/key-wrap/src/soft.ts:48

The key encryption key's version. Default 1, the reference SOFT_KEK_REFERENCE_V1.