@maschinenlesbar.org/openka-cli
    Preparing search index...

    Class CredentialStore

    The credentials file. Reading it checks what ssh checks of a private key: a regular file, owned by this user, readable by nobody else — anything else is a StoreError naming the fix, rather than a key quietly used from a file others can read.

    Index
    • Parameters

      • path: string

      Returns CredentialStore

    path: string
    • Refuse a credentials file inside the corpus: ka export or a copy of it would carry the key along.

      Parameters

      • corpusRoot: string

      Returns void

    • Parameters

      • name: string

      Returns string | undefined

    • Every stored name, sorted.

      Returns string[]

    • Parameters

      • name: string
      • value: string

      Returns void

    • Remove name; false when it was not stored. The file goes when nothing is left in it.

      Parameters

      • name: string

      Returns boolean

    • The store at resolveCredentialsPath(env).

      Parameters

      • env: ProcessEnv

      Returns CredentialStore