@evervault/sdk
Advanced tools
Changelog
6.1.0
createEnclaveHttpsAgent
to return an EnclaveAgent
class which extends https.Agent to manage HTTPS connections. This Agent can be passed into HTTP clients like Axios to attest a connection to an Enclave.Changelog
6.0.0
0feef7d: The Evervault Attestation Bindings have been removed as an external dependency including them instead as a plugin at runtime.
The attestation bindings now require an explicit opt-in. For customers that do not use Evervault Enclaves, there should be no change to how you use the SDK.
If you use Evervault Enclaves, you'll need to install the Attestation Bindings separately:
npm i @evervault/attestation-bindings
After installing the attestation bindings, you can use the existing enableEnclaves
function using the bindings as the second parameter:
const Evervault = require('@evervault/sdk');
const attestationBindings = require('@evervault/attestation-bindings');
const evervault = new Evervault('app_id', 'api_key');
await evervault.enableEnclaves(
{
'my-enclave': {
// attestation measures...
},
},
attestationBindings
);
Changelog
5.1.5