'Return OpenStack credentials that can be used to send a signal.
These credentials are for the user associated with this resource in
the heat stack user domain.'

def _get_heat_signal_credentials(self):

    if (self._get_user_id() is None):
        if (self.password is None):
            self.password = uuid.uuid4().hex
        self._create_user()
    return {'auth_url': self.keystone().v3_endpoint, 'username': self.physical_resource_name(), 'user_id': self._get_user_id(), 'password': self.password, 'project_id': self.stack.stack_user_project_id, 'domain_id': self.keystone().stack_domain_id}
