iya-sts
    Preparing search index...

    Variable readSourceSecret

    readSourceSecret: (source: any) => Promise<any> = readSourceSecret

    Type Declaration

      • (source: any): Promise<any>
      • Reads an attribute source's password as text, decoded and trimmed.

        Parameters

        • source: any

          { realm, id, provider, ref, field }

        Returns Promise<any>

        the text, or null when the provider is none or empty

        an Error carrying STS-ATTR-0006 when the read fails, or STS-ATTR-0007 when it finds an empty value