code: def get_user_input(env):
      
  
      defaults = config.get_settings_from_client(env.client)
  
      # Ask for username
      username = env.input('Username', default=defaults['username'])
  
      # Ask for 'secret' which can be api_key or their password
      secret = env.getpass('API Key or Password', default=defaults['api_key'])
  
      # Ask for which endpoint they want to use
      endpoint = defaults.get('endpoint_url', 'public')
      endpoint_type = env.input(
          'Endpoint (public|private|custom)', default=endpoint)
      endpoint_type = endpoint_type.lower()
  
      if endpoint_type == 'public':
          endpoint_url = SoftLayer.API_PUBLIC_ENDPOINT
      elif endpoint_type == 'private':
          endpoint_url = SoftLayer.API_PRIVATE_ENDPOINT
      else:
          if endpoint_type == 'custom':
              endpoint_url = env.input('Endpoint URL', default=endpoint)
          else:
              endpoint_url = endpoint_type
  
      # Ask for timeout
      timeout = env.input('Timeout', default=defaults['timeout'] or 0)
  
      return username, secret, endpoint_url, timeout
docs: Ask for username, secret (api_key or password) and endpoint_url.