Firmware Signing Keys

Endpoints used for managing firmware signing keys on NervesHub through the User API.

For more information about firmware signing keys:

get
List

https://api.nerves-hub.org/orgs/:org_name/keys
List all public firmware signing keys for the organization. Requires: client side SSL user certificate Requires: organization role read
Request
Response
Path Parameters
org_name
required
string
The name of the organization
200: OK
{
"data": [
{
"name": "test",
"key": "h8L1FcfK8mUSnIvM0rffjoapItsI4fimIU9x9Jq2TdU="
}
]
}

post
Insert

https://api.nerves-hub.org/orgs/:org_name/keys
Insert a new firmware signing public key for the organization Requires: client side SSL user certificate Requires: organization role write
Request
Response
Path Parameters
:org_name
required
string
The name of the organization
Body Parameters
name
required
string
A friendly name to reference the firmware signing key
key
required
string
The firmware signing public key
200: OK
{
"data": {
"name": "test",
"key": "h8L1FcfK8mUSnIvM0rffjoapItsI4fimIU9x9Jq2TdU="
}
}