Add_key
POST
Register a public key with workload manage credentials permission.
bearerAuthheader
AuthorizationBearer <token>workload_id*stringapplication/json- body
A public JSON Web Key with a key identifier. Private key material is rejected.
jwk*unknownSuccess
application/json- response
The registered public key.
key*A public JSON Web Key whose assertions authenticate the Workload.
curl -X POST 'https://api.spiraldb.dev/api/workloads/string/keys' \ -H 'Content-Type: application/json' \ -d '{ "jwk": null}'{ "key": { "jwk": null, "kid": "string", "workloadId": "string" }}