Add getKeys method by resource.

Used to get users by resource id. Connected with client permissions issues codo/client#3426 codio/client#3425