@grow-codes/graylog - v0.1.1
    Preparing search index...

    Class Secret

    Wraps a credential. toString(), JSON.stringify and util.inspect all print REDACTED; Secret.reveal returns the value.

    Index
    • Wraps a string (returns undefined for undefined/empty, keeps an existing Secret).

      Parameters

      • value: string | Secret | null | undefined

      Returns Secret | undefined