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). 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 Python