code: def list_metadata(self, resource):
          
          self.metadata_service.set_auth(self._token_metadata)
          return self.metadata_service.list(resource)
docs: List all keys associated with the given resource.
  
          Args:
              resource (intern.resource.boss.BossResource)
  
          Returns:
              (list)
  
          Raises:
              requests.HTTPError on a failure.