API reference@evolu/commonlocal‑first/Owner › OwnerWriteKey

type OwnerWriteKey = Uint8Array<ArrayBufferLike> &
  import("../Brand.ts").Brand<"Entropy"> &
  import("../Brand.ts").Brand<"Length16"> &
  import("../Brand.ts").Brand<"OwnerWriteKey">;

Defined in: packages/common/src/local-first/Owner.ts:154

A token that authorizes write operations for an Owner.

The initial key is derived from OwnerSecret. Replace it with a random key from createOwnerWriteKey to rotate write access without changing the owner identity or encryption key.