iya-sts
    Preparing search index...
    setDestination: (
        username: unknown,
        destination: unknown,
        secretName: unknown,
    ) =>
        | Refusal
        | {
            account: ServiceAccountFacts;
            changed: boolean;
            ok: boolean;
            username: any;
        } = ...

    Type Declaration

      • (
            username: unknown,
            destination: unknown,
            secretName: unknown,
        ):
            | Refusal
            | {
                account: ServiceAccountFacts;
                changed: boolean;
                ok: boolean;
                username: any;
            }
      • Sets a service account's push destination and the secret's name there, writing at once and keeping the owners (#602, rcbj: a destination picked from the search is "automatically set and saved"). Both empty clears them; one without the other is refused, as set() refuses it.

        Parameters

        • username: unknown

          the service account

        • destination: unknown

          the destination's DN, or ''

        • secretName: unknown

          the secret's name or path, or ''

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

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