Skip to main content
POST
/
public
/
v1
/
query
/
get_boot_proof

Authorizations

X-Stamp
string
required
Cryptographically signed (stamped) request to be passed in as a header. For more info, see here.

Body

organizationId
string
required
Unique identifier for a given Organization.
ephemeralKey
string
required
Hex encoded ephemeral public key.

Response

A successful response returns the following fields:
bootProof
object
required
bootProof field
curl --request POST \
  --url https://api.turnkey.com/public/v1/query/get_boot_proof \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header "X-Stamp: <string> (see Authorizations)" \
  --data '{
    "organizationId": "<string>",
    "ephemeralKey": "<string>"
}'
import { Turnkey } from "@turnkey/sdk-server";

const turnkeyClient = new Turnkey({
  apiBaseUrl: "https://api.turnkey.com",
  apiPublicKey: process.env.API_PUBLIC_KEY!,
  apiPrivateKey: process.env.API_PRIVATE_KEY!,
  defaultOrganizationId: process.env.ORGANIZATION_ID!,
});

const response = await turnkeyClient.apiClient().getBootProof({
  organizationId: "<string> (Unique identifier for a given Organization.)",
  ephemeralKey: "<string> (Hex encoded ephemeral public key.)"
});
{
  "bootProof": {
    "ephemeralPublicKeyHex": "<string>",
    "awsAttestationDocB64": "<string>",
    "qosManifestB64": "<string>",
    "qosManifestEnvelopeB64": "<string>",
    "deploymentLabel": "<string>",
    "enclaveApp": "<string>",
    "owner": "<string>",
    "createdAt": {
      "seconds": "<string>",
      "nanos": "<string>"
    }
  }
}