# 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

  • userstring-
  • commentstring-
  • permissionsobject-
  • rawPermissions-

# Example response

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

# POST /keys

# Parameters

  • bodyobject-
    • userstring-
    • commentstring-
    • permissionsobject-

# Endpoint

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

# Example body

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

# DELETE /keys/{user}

# Parameters

  • userstring-

# Endpoint

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

# PATCH /keys/{user}

# Parameters

  • userstring-
  • bodyobject-
    • userstring-
    • commentstring-
    • permissionsobject-

# Endpoint

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

# Example body

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

# GET /keys/{user}/download

# Parameters

  • userstring-

# Endpoint

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

# Response 200

  • fileNamestring-
  • urlstring-
  • fileContentsstring-

# Example response

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