ceph-keys

Manage Ceph access keys.

GET /keys

Parameters

includeSystemKeys
boolean
query
optional
Include Ceph and croit service keys (default: false)

Endpoint

curl -X GET http://mgmt-node:8080/api/keys?includeSystemKeys=true
                

Response 200

user
string
optional
-
comment
string
optional
-
permissions
object
optional
-
rawPermissions
optional
-

Example response

[
  {
    "user": "string",
    "comment": "string",
    "permissions": {},
    "rawPermissions": 
  }
]
                  

POST /keys

Parameters

body
object
optional
-

Endpoint

curl -X POST http://mgmt-node:8080/api/keys
                

Example body

{
  "user": "string",
  "comment": "string",
  "permissions": {}
}
                

DELETE /keys/{user}

Parameters

user
string
path
-

Endpoint

curl -X DELETE http://mgmt-node:8080/api/keys/{user}
                

PATCH /keys/{user}

Parameters

user
string
path
-
body
object
optional
-

Endpoint

curl -X PATCH http://mgmt-node:8080/api/keys/{user}
                

Example body

{
  "comment": "string",
  "permissions": {}
}
                

GET /keys/{user}/download

Parameters

user
string
path
-

Endpoint

curl -X GET http://mgmt-node:8080/api/keys/{user}/download
                

Response 200

fileName
string
optional
-
url
string
optional
-
fileContents
string
optional
-

Example response

{
  "fileName": "string",
  "url": "string",
  "fileContents": "string"
}
                  

GET /keys/kubernetes/{user}/{pool}

Parameters

user
string
path
-
pool
string
path
-

Endpoint

curl -X GET http://mgmt-node:8080/api/keys/kubernetes/{user}/{pool}
                

Response 200

fileName
string
optional
-
url
string
optional
-
fileContents
string
optional
-

Example response

{
  "fileName": "string",
  "url": "string",
  "fileContents": "string"
}