code: def authenticate_heat_admin(self, keystone):
          
          self.log.debug('Authenticating heat admin...')
          ep = keystone.service_catalog.url_for(service_type='orchestration',
                                                interface='publicURL')
          if keystone.session:
              return heat_client.Client(endpoint=ep, session=keystone.session)
          else:
              return heat_client.Client(endpoint=ep, token=keystone.auth_token)
docs: Authenticates the admin user with heat.