Creates a new KeychainAgent
The account/label name for the identity in the keychain
Additional HTTPS agent options
The account/label name for the identity in the keychain
Non-exportable key path (Windows / macOS Secure Enclave): TLS is handled by a Rust helper that uses OS APIs (Schannel / Secure Transport) and proxies plaintext over a local TCP socket, which is returned as a duck-typed TLS socket to Node's HTTP layer.
Returns the socket to use for each outgoing request.
The outgoing request
The HTTPS agent options
The socket to use for the request
Generated using TypeDoc
HTTPS Agent that supports certificates stored in the macOS Keychain or Windows Certificate Store, including non-exportable private keys (e.g. Windows CNG, macOS Secure Enclave).
On macOS, if the private key is exportable it is used directly by Node's TLS stack. Otherwise (and always on Windows), TLS is handled by native OS APIs via a Rust helper.