'Create a credential.'

def create_credential(self, credential_id, credential):

    credential_copy = self._encrypt_credential(credential)
    ref = self.driver.create_credential(credential_id, credential_copy)
    ref.pop('key_hash', None)
    ref.pop('encrypted_blob', None)
    ref['blob'] = credential['blob']
    return ref
