Last updated 1 month ago
Creates an encryption key pair for secure end-to-end communication.
POST /v1/vault/encryption-keys HTTP/1.1 Host: auth.armory.playnarval.com detached-jws: YOUR_API_KEY x-client-id: text Accept: */*
Returns the created encryption key details.
{ "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" } }