# ceph-keys

Manage Ceph access keys.
Set management node URL:

# GET /keys

# Parameters

  • No parameters...

# Endpoint

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

# Response 200

  • userstringoptional-
  • commentstringoptional-
  • permissionsobjectoptional-
  • rawPermissionsoptional-

# Example response

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

# POST /keys

# Parameters

  • bodyobjectoptional-
    • userstringoptional-
    • commentstringoptional-
    • permissionsobjectoptional-

# Endpoint

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

# Example body

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

# DELETE /keys/{user}

# Parameters

  • userstringpath-

# Endpoint

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

# PATCH /keys/{user}

# Parameters

  • userstringpath-
  • bodyobjectoptional-
    • userstringoptional-
    • commentstringoptional-
    • permissionsobjectoptional-

# Endpoint

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

# Example body

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

# GET /keys/{user}/download

# Parameters

  • userstringpath-

# Endpoint

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

# Response 200

  • fileNamestringoptional-
  • urlstringoptional-
  • fileContentsstringoptional-

# Example response

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