code: def create(self, max_wait=180, **kwargs):
          
          # Will need to wait for the service to be provisioned before can add
          # service keys and get env details.
          self.service.create(async=True, create_keys=False)
          while self._create_in_progress() and max_wait > 0:
              time.sleep(1)
              max_wait -= 1
  
          # Now get the service env (via service keys)
          cfg = self.service._get_service_config()
          self.service.settings.save(cfg)
  
          host = predix.config.get_env_key(self.use_class, 'host')
          os.environ[host] = self.service.settings.data['host']
  
          password = predix.config.get_env_key(self.use_class, 'password')
          os.environ[password] = self.service.settings.data['password']
  
          port = predix.config.get_env_key(self.use_class, 'port')
          os.environ[port] = str(self.service.settings.data['port'])
docs: Create an instance of the Predix Cache Service with they typical
          starting settings.
  
          :param max_wait: service is created asynchronously, so will only wait
              this number of seconds before giving up.