Transit Encryption Key

Create encryption key

post

Creates an encryption key pair for secure end-to-end communication.

Authorizations
Header parameters
x-client-idstringRequired
AuthorizationstringOptional
Responses
201
Returns the created encryption key details.
application/json
post
POST /v1/vault/encryption-keys HTTP/1.1
Host: auth.armory.playnarval.com
detached-jws: YOUR_API_KEY
x-client-id: text
Accept: */*
{
  "publicKey": {
    "kty": "RSA",
    "alg": "RS256",
    "use": "sig",
    "kid": "text",
    "addr": "text",
    "n": "text",
    "e": "text"
  },
  "data": {
    "keyId": "text",
    "jwk": {
      "kty": "EC",
      "alg": "ES256K",
      "use": "sig",
      "kid": "text",
      "addr": "text",
      "crv": "secp256k1",
      "x": "text",
      "y": "text"
    },
    "pem": "text"
  }
}

Last updated