iya-sts
    Preparing search index...
    set: (
        username: unknown,
        given: Record<string, any>,
    ) =>
        | Refusal
        | {
            account: ServiceAccountFacts;
            changed: boolean;
            ok: boolean;
            username: any;
        } = ...

    Type Declaration

      • (
            username: unknown,
            given: Record<string, any>,
        ):
            | Refusal
            | {
                account: ServiceAccountFacts;
                changed: boolean;
                ok: boolean;
                username: any;
            }
      • Makes a person a service account, changes one, or makes one a person again.

        serviceAccount false clears every attribute this module writes, the previous password and the rotation state included. Otherwise owners — the WHOLE list, which replaces what the account names; each a DN, username or group name, at least one while the policy's requireOwner is on (#600) — and destination (an application entry's DN) with secretName, both or neither.

        Parameters

        • username: unknown

          the person

        • given: Record<string, any>

          serviceAccount, owners, destination, secretName

        Returns
            | Refusal
            | {
                account: ServiceAccountFacts;
                changed: boolean;
                ok: boolean;
                username: any;
            }

        { ok: true, account, changed }, or a refusal with a code