Skip to main content
POST
Register the network shared public key

Headers

X-Network-ID
string
required

Network ID

X-Network-Credential
string
required

Network Credential (network password or JWT)

Body

application/json

PEM encoded RSA public key

Request for registering the network shared public key

public_key_pem
string
Example:

"-----BEGIN PUBLIC KEY-----..."

serverhost_id
string
Example:

"123e4567-e89b-12d3-a456-426614174000"

Response

OK

Response for registering the network shared public key

accepted
boolean
Example:

true

key_fingerprint
string
Example:

"3f5a..."

message
string
Example:

"Encryption key registered successfully"

public_key_pem
string
Example:

"-----BEGIN PUBLIC KEY-----..."