Skip to main content
Lists all item IDs currently stored in the index.
The trailing key is the index’s 32-byte KEK. A bare std::array<uint8_t, 32> implicitly converts to a KeyContext, so you can pass index_key directly; for an RBAC user pass cyborg::KeyContext{user_kek, user_id}.

Returns

std::vector<std::string>: A vector containing all item IDs currently stored in the encrypted index.

Exceptions

  • Throws if an error occurs during retrieval of IDs from the index.

Example Usage

Use ListIDs() to:
  • Verify what items are stored in your index
  • Check if specific items exist before querying
  • Get a complete inventory of your encrypted index contents
  • Implement custom batch processing logic