iya-sts
    Preparing search index...

    Variable addKey

    addKey: (id: unknown, spec: any, actor?: unknown, options?: ActOptions) => any = ...

    Type Declaration

      • (id: unknown, spec: any, actor?: unknown, options?: ActOptions): any
      • Adds one key to a device.

        Parameters

        • id: unknown

          the device's id

        • spec: any

          the key

        • Optionalactor: unknown

          who did it

        • Optionaloptions: ActOptions

          renewal when the key replaces one just removed for a certificate re-issue

        Returns any

        { ok, key, device, … }, or a refusal