@maschinenlesbar.org/dip-bundestag-cli
    Preparing search index...

    Function obtainKey

    • Read the published key and (by default) prove it still works.

      Tries each source in turn and, within a source, each key-shaped candidate, returning the first the live API accepts. Throws rather than returning a placeholder when no source is reachable, none states a key, or none states one the API accepts — so a caller never proceeds with a value that cannot authenticate.

      Parameters

      Returns Promise<ObtainedKey>