API reference / @evolu/common / Evolu/Owner / OwnerWriteKey

Variable: OwnerWriteKey

const OwnerWriteKey: BrandType<
  BrandType<
    Type<
      "Brand",
      Uint8Array<ArrayBufferLike> & Brand<"Entropy">,
      Uint8Array<ArrayBufferLike>,
      BrandWithoutRefineError<"Entropy", Uint8ArrayError>,
      Uint8Array<ArrayBufferLike>,
      never
    >,
    "Length16",
    LengthError<16>,
    BrandWithoutRefineError<"Entropy", Uint8ArrayError>
  >,
  "OwnerWriteKey",
  BrandWithoutRefineError<
    "OwnerWriteKey",
    LengthError<16> | BrandWithoutRefineError<"Entropy", Uint8ArrayError>
  >,
  never
>;

Defined in: packages/common/src/Evolu/Owner.ts:105

A secure token for write operations. It's derived from OwnerSecret by default and can be rotated via createOwnerWriteKey.

Was this page helpful?