Keystore Service
Service deployed on https://keystore.ambisafe.co.
Persist newly generated key:
POST /api/v0/keystore/<uuid v4> with header Authorization: <JWT keystore token>
{
"crypto" : "<according to secret storage definition>",
"address" : "<eth address>",
"id" : "<uuid v4>",
"version" : "arbitrary"
}
returns:
http 201 - created
http 400 - uuid in json does not match uuid in url / no address contained
http 401 - storageToken not valid
http 409 - conflict
Retrieve key:
GET /api/v0/keystore/<uuid v4>
returns:
http 200 - ok
http 403 - banned
http 404 - not found