Hand a secret over through a single-use, short-lived wrapping token (client.wrapping).
Function
What it does
wrap(data, ttl) → WrapInfo
stores data behind a wrapping token (token redacted, accessor, ttl, creationTime, creationPath)
lookupWrapping(token)
creationPath, creationTime, creationTtl without using the token; used or invalid → VALIDATION
unwrap(token)
returns the wrapped data (or the full wrapped API response, including auth for a wrapped login); a second unwrap → VALIDATION, never retried
constinfo=awaitclient.wrapping.wrap({apiKey:"k-123"},60_000);constmeta=awaitclient.wrapping.lookupWrapping(info.token);// send info.token.reveal() to the receiver, which calls:const{data}=awaitclient.wrapping.unwrap(info.token);