@grow-codes/openbao - v0.1.2
    Preparing search index...

    Class SecretValue

    A secret value. Every string form (toString, JSON.stringify, util.inspect) prints SecretValue([REDACTED]); use reveal, revealBytes or json to read it.

    Index
    • Parameters

      • value: string | Uint8Array<ArrayBufferLike>
      • Optionalversion: string

      Returns SecretValue

    version?: string

    Opaque version string (KV "3", AWS VersionId, …) when the service has versions.

    • Hex SHA-256 of the bytes (used to detect changes when there is no version).

      Returns string

    • Encodes a string, bytes or a JSON-serialisable object (objects are JSON-encoded).

      Parameters

      • value: string | object | Uint8Array<ArrayBufferLike>
      • Optionalversion: string

      Returns SecretValue