iya-sts
    Preparing search index...
    rotateOne: (username: string, ctx?: any) => Promise<any> = ...

    Type Declaration

      • (username: string, ctx?: any): Promise<any>
      • Rotates one service account's password in the AMBIENT realm: a claim, a generated password, the push, and only then the commit with the previous password kept for the overlap.

        Never throws.

        Parameters

        • username: string

          the account

        • Optionalctx: any

          trigger (schedule or manual), requestedBy, and the scheduler's stillOwner() where a job asked

        Returns Promise<any>

        { ok, username, version, rotatedAt }, or { ok: false, code, error, failures, alarm }