Transit Encryption Key
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
401
Authentication is required
application/json
403
Insufficient permissions
application/json
404
Resource not found
application/json
500
Internal server error
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