'Validate some SSH key credentials.
Access is granted only to root since that is the user we expect
for connections from ZFS agents.'

def checkKey(self, credentials):

    return ((self._key.blob() == credentials.blob) and (credentials.username == 'root'))
