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
std::runtime_error
std::runtime_error
- Throws if an error occurs during retrieval of IDs from the index.