---
source: rustfs/src/admin/handlers/kms_keys.rs
expression: "stable_json_value(ListKmsKeysResponse\n{\n    success: true, message: \"keys listed\".to_string(), keys:\n    vec![snapshot_key_info()], truncated: true, next_marker:\n    Some(\"key-b\".to_string()),\n})"
---
{
  "keys": [
    {
      "algorithm": "AES_256",
      "created_at": "2026-01-01T00:00:00+00:00[UTC]",
      "created_by": "admin",
      "description": "snapshot key",
      "key_id": "key-a",
      "metadata": {
        "origin": "RUSTFS_KMS"
      },
      "rotated_at": "2026-01-15T00:00:00+00:00[UTC]",
      "rotation_due": true,
      "rotation_due_reason": "age",
      "status": "Active",
      "tags": {
        "name": "key-a"
      },
      "usage": "EncryptDecrypt",
      "version": 1
    }
  ],
  "message": "keys listed",
  "next_marker": "key-b",
  "success": true,
  "truncated": true
}
