GET /kms-key

List KMS Keys details for an organization in a given zone.

Responses

  • 200 application/json

    200

    Hide response attribute Show response attribute object
    • kms-keys array[object] Required
      Hide kms-keys attributes Show kms-keys attributes object
      • description string Required
      • rotation object Required
        Hide rotation attributes Show rotation attributes object
        • manual-count integer Required
        • automatic boolean Required
        • rotation-period integer Required
        • next-at string(date-time) Required
      • revision object Required
        Hide revision attributes Show revision attributes object
        • at string(date-time) Required
        • seq integer Required

          Minimum value is 0.

      • name string Required
      • multi-zone boolean Required
      • source string Required

        Value is exoscale-kms.

      • usage string Required
      • status string Required

        Values are enabled, disabled, or pending-deletion.

      • status-since string(date-time) Required
      • id string(uuid) Required
      • replicas array[string] Required
      • material object Required
        Hide material attributes Show material attributes object
        • version integer Required
        • created-at string(date-time) Required
        • automatic boolean Required
      • origin-zone string Required
      • created-at string(date-time) Required
  • 400 application/json

    400

    Hide response attributes Show response attributes object
    • type string(uri-reference) Required
    • title string Required
    • status integer Required

      Minimum value is 100, maximum value is 599.

    • detail string Required
    • instance string(uri-reference)
    • errors array[object]
      Hide errors attributes Show errors attributes object
      • path string
      • detail string
      • pointer string
      • location string
GET /kms-key
curl \
 --request GET 'https://api-ch-gva-2.exoscale.com/v2/kms-key'
Response examples (200)
{
  "kms-keys": [
    {
      "description": "string",
      "rotation": {
        "manual-count": 42,
        "automatic": true,
        "rotation-period": 42,
        "next-at": "2026-05-04T09:42:00Z"
      },
      "revision": {
        "at": "2026-05-04T09:42:00Z",
        "seq": 42
      },
      "name": "string",
      "multi-zone": true,
      "source": "exoscale-kms",
      "usage": "string",
      "status": "enabled",
      "status-since": "2026-05-04T09:42:00Z",
      "id": "string",
      "replicas": [
        "string"
      ],
      "material": {
        "version": 42,
        "created-at": "2026-05-04T09:42:00Z",
        "automatic": true
      },
      "origin-zone": "string",
      "created-at": "2026-05-04T09:42:00Z"
    }
  ]
}
Response examples (400)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string",
  "errors": [
    {
      "path": "string",
      "detail": "string",
      "pointer": "string",
      "location": "string"
    }
  ]
}