iya-sts
    Preparing search index...

    Variable changeRealmKey

    changeRealmKey: (username: string, rid: unknown, change: string) => any = ...

    Type Declaration

      • (username: string, rid: unknown, change: string): any
      • Adds a key to, or rotates the key of, a realm-custody DID: one act, authorized by the signed-in person, the new key generated and sealed. add keeps the current keys beside it; rotate replaces them.

        Parameters

        • username: string

          the signed-in person

        • rid: unknown

          the DID's random id

        • change: string

          add or rotate

        Returns any

        { ok, record, version }, or { ok: false, code, error }