Cryptosat
WebsiteBlogSatellite Tracking
  • Cryptosat
    • 🛰️Satellite tracking
    • 📄SpaceTEE paper
    • Contribution to the Ethereum KZG Ceremony
      • Cryptosat KZG Operation Tracker
      • Crypto2 contribution output
      • Contribution verification
  • Cryptosim
    • Cryptosim
    • Asynchronous API
    • Use-case examples
    • Open-source contribution
  • 🗳️Private Voting
    • Private Voting on Snapshot X
    • Private Voting Contract
    • Browser Side Encryption
  • 🎲random-beacon
    • Verifiable Random Beacon
    • Using the random beacon on-chain
  • API documentation
    • Message Signing
    • Authentication
    • Randomness API
      • Tutorial
      • API reference
    • Queue API
      • API reference
        • Queue
          • Request
          • Requests
    • Public randomness SAPI
      • About
      • API reference
        • Public randomness
          • Result
    • FROST API
      • About
      • API reference
        • Frost
          • Partial sign
          • Private key
      • Specification
    • Satellite Public Keys
  • ⏳Time-based Primitives
    • ⌚Time-based primitives and delay-encryption
    • ⚛️Using Delay Encryption for Atomic Swaps
  • Flastsat Environment
    • Overview
    • Access and Control
    • Crypto Engine Specs
    • Power API
Powered by GitBook
On this page
  1. API documentation
  2. FROST API
  3. API reference
  4. Frost

Private key

Stores and deletes private keys.

PreviousPartial signNextSatellite Public Keys

Last updated 2 years ago

The keys must be 32 characters and Base64 encoded. The must be unique.

  • POSTStore a private key.
  • DELETEDelete a previously stored private key.

Store a private key.

post
Authorizations
Body
key_idstringOptional
private_keystringOptional
Responses
200
200 response
application/json
post
POST /private_key HTTP/1.1
Host: frost
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 38

{
  "key_id": "text",
  "private_key": "text"
}
200

200 response

{
  "request": {
    "request_uuid": "text",
    "request_name": "text",
    "request_verb": "text",
    "response_eta": "text",
    "created_at": "text",
    "satellite_id": "text",
    "request_status": {
      "status_code": null,
      "status_name": "text"
    }
  }
}

Delete a previously stored private key.

delete
Authorizations
Body
key_idstringOptional
Responses
200
200 response
application/json
delete
DELETE /private_key HTTP/1.1
Host: frost
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 17

{
  "key_id": "text"
}
200

200 response

{
  "request": {
    "request_uuid": "text",
    "request_name": "text",
    "request_verb": "text",
    "response_eta": "text",
    "created_at": "text",
    "satellite_id": "text",
    "request_status": {
      "status_code": null,
      "status_name": "text"
    }
  }
}