Security API

Security API

Only the Full Administrator can use REST API commands to manage certificates.

Table 1. Security endpoints
HTTP method URI path Description Parameters
GET /pools/default/certificate Returns the current cluster certificate. type, pem, subject, expires, warnings
POST /controller/uploadClusterCA Uploads a pem-encoded root certificate (cluster CA) to the cluster. none
POST /node/controller/reloadCertificate Takes a certificate/key from the specified directory and applies them to the node. password, chain.pem, pkey.pem
GET /pools/default/certificate/ \ node/<host:port> Retrieves the read-only username. password
GET /settings/rbac/ Returns an array of objects that describe admin role, or users and roles assigned to them. roles, users
PUT /settings/rbac/users/ Set names and roles for a user ID. user_id
DELETE /settings/rbac/users/ Delete users. user_id
POST /pools/default/ Check permissions. checkPermissions