Create a new Signing Key for an Organization
The scheme decides how key is validated and what it can verify:
ed25519(the default): an fwup signing key, base64 encoded, as produced byfwup -g. Verifies.fwarchives and AtomVM.avmpackbeams.secure_boot_v2_rsa: a PEM-encoded RSA-3072 public key, the public half of anespsecure.pySecure Boot v2 signing key. Verifies ESP-IDF.binimages.x509_certificate: a PEM-encoded X.509 certificate, the trust anchor RAUC’s CMS signatures are checked against. A certificate rather than a bare public key, because CMS verification checks a chain. Verifies RAUC.raucbbundles.
A key is only ever a candidate for firmware of its own scheme.
Authorizations
A user API token, or a product API key created in a product's settings.
A product API key only works on the routes for its own product, under
/api/orgs/{org_name}/products/{product_name}, and on /api/devices/{identifier}
for that product's devices. What it may do there is decided by the role it
holds, the same way a member's role decides what they may do.
Body
Signing Key creation request body
POST body for adding a Signing Key to an Organization.
scheme defaults to ed25519 when omitted, which is what every key was
before ESP-IDF support — so existing clients keep working unchanged.

