Skip to main content
Version: 1.2.1

Ed25519 - Import a key share from backup

POST 

/ed25519/backup/import-key-share

Imports a previously exported key share (a serialized base64 string). The key share is then stored in the Vertex and can be used for key operations. This API returns a new key_id for the imported key share. If the Vertex is running with the Encrypted Server Share Backup mode, export_type should be set to encrypted, otherwise, it should be set to plaintext. Encrypted Server Share Backup mode is available as a Preview Feature, please contact the Sodot team if you want to enable it.

Request

Header Parameters

    AUTHORIZATION stringrequired

    The AUTHORIZATION header must be set to the API Key of the user. The API Key is returned when a new user is created using the /admin/create-user endpoint.

Body

required

    export_type ExportTyperequired

    Possible values: [plaintext, encrypted]

    key_share stringrequired

Responses

Schema

    key_id KeyIdrequired
Loading...