iya-sts
    Preparing search index...
    save: (name: unknown, given?: Record<string, any>) => PolicyResult = ...

    Type Declaration

      • (name: unknown, given?: Record<string, any>): PolicyResult
      • Saves the profile of this realm, replacing it whole.

        Parameters

        • name: unknown

          the profile name: default, or a named profile's (#1241), created by its first save

        • Optionalgiven: Record<string, any>

          requiredAttributes, an optional description, and a named profile's precedence (1 to 1000, 100 when omitted)

        Returns PolicyResult

        ok and the profile now in force, or ok: false with errors