Get the attestation policy
What a device must check in an enclave's attestation before it publishes media: the token issuer, the confidential-computing hardware, the enclave image's source and minimum release, and the sealing scheme. The SDK checks it for you. No key needed.
mode?stringThe policy for test or live sessions.
"live""test""live"The policy.
application/json- response
What an enclave's attestation must show before a device sends it media. In test mode no enclave runs, and the policy says so.
object*stringmode*string"test""live"version*stringenforced*booleanWhether devices must verify an attestation in this mode.
issuer*|The issuer the attestation token must be signed by.
urihardware*array<string>The confidential-computing hardware the enclave must run on.
image*seal*evidence*How the enclave signs its answers to the device.
debugAllowed*booleanWhether a debuggable enclave is accepted. Never in live mode.
verify*|What the enclave's own verifier (tee-verify, in the enclave's source) holds a running enclave to, for the enclaves this mode's sessions run on. null in test mode.
note?stringupdatedAt*stringdate-timecurl -X GET 'https://orgasm.dev/v1/attestation-policy'{ "object": "attestation_policy", "mode": "test", "version": "string", "enforced": true, "issuer": "http://example.com", "hardware": [ "string" ], "image": { "source": "http://example.com", "minRelease": "string", "digests": [ "string" ], "signers": [ "string" ], "repository": "string", "releasesUrl": "http://example.com" }, "seal": { "schemes": [ "v1" ] }, "evidence": { "algorithm": "Ed25519" }, "debugAllowed": true, "verify": { "sourceUri": "string", "imageRepo": "string", "signerKeyIds": [ "string" ], "minRelease": "string", "readingsUrl": "http://example.com", "invokers": [ "string" ], "captureBucket": "string", "requestSeal": "string", "projectIds": [ "string" ], "imageRefPrefixes": [ "string" ] }, "note": "string", "updatedAt": "2019-08-24T14:15:22Z"}Delete an API key DELETE
Revokes the key immediately. Requests with it fail from then on.
Upload a sandbox recording PUT
The target of `uploads.face.url` and `uploads.body.url` in test mode. The sandbox reads and discards the bytes without storing them, then starts the recording's scenario. Do not upload real recordings of people to the sandbox; any small video file works. In live mode the upload URL points at the enclave instead.