routier-collection / plugins/encryption/src / KeyringOptions
Type Alias: KeyringOptions
KeyringOptions =
object
Defined in: plugins/encryption/src/keyring.ts:23
Properties
activeKeyId
activeKeyId:
string
Defined in: plugins/encryption/src/keyring.ts:25
The key new writes use. Must be present in keys.
keys
keys:
Record<string,KeySecret>
Defined in: plugins/encryption/src/keyring.ts:33
Every key that might have produced a stored value, by id.
Keep a retired key here until nothing references it. Removing it early does not fail a write; it fails a READ, later, on whichever rows still carry that id.