'Deserializes credentials.
:param credentials:
Credentials serialized with :meth:`.Credentials.serialize` or
:class:`.Credentials` instance.
:returns:
:class:`.Credentials`'

def credentials(self, credentials):

    return Credentials.deserialize(self.config, credentials)
