add functionality to list keys and get their attributes