code: def api_secret(self, api_secret):
          
          if api_secret is None:
              raise ValueError("Invalid value for `api_secret`, must not be `None`")
          if api_secret is not None and len(api_secret) > 250:
              raise ValueError("Invalid value for `api_secret`, length must be less than or equal to `250`")
  
          self._api_secret = api_secret
docs: Sets the api_secret of this GlobalSignCredentials.
          API Secret matching the API key (provided by GlobalSign). 
  
          :param api_secret: The api_secret of this GlobalSignCredentials.
          :type: str