For role-based access control (RBAC), a per-user load passes the user’s 16-byte identifier:
load_index("my_index", user_kek, user_id=user_id) in Python, or client.LoadIndex("my_index", user_kek, nullptr, user_id) in C++. The supplied key then acts as that user’s key-encryption key, and per-operation permissions are enforced.API Reference
For more information on loading an encrypted index, refer to the API reference:Python API Reference
API reference for
load_index() in PythonC++ API Reference
API reference for
LoadIndex() in C++