hammerspoon2-docs
    Preparing search index...

    Function items

    • List the stored secrets, without the secrets themselves. Secrets stored with requireUserPresence aren't listed, because macOS won't reveal anything about them, not even that they exist, until you authenticate, and listing never asks you to.

      Parameters

      • Optionalservice: string | null

        Only list the secrets for this service. Lists every secret if omitted.

      Returns {
          account: string;
          comment?: string;
          created?: Date;
          label?: string;
          modified?: Date;
          service: string;
          synchronizable: boolean;
      }[]

      The stored secrets, sorted by service and then account

      Throws an Error on failure; wrap calls in try/catch to handle it.