code: def add_server_settings_arguments(
      parser: argparse.ArgumentParser,
  ) -> None:
      """Add arguments for the API server.
  
      Args:
          parser: Argument parser.
      """
      server_arguments = parser.add_argument_group("Server Settings")
  
      add_interface_argument(server_arguments)
      add_port_argument(server_arguments)
  
      server_arguments.add_argument(
          "-t",
          "--auth-token",
          type=str,
          default=os.getenv(AUTH_TOKEN_ENV),
          help="Enable token based authentication. Requests need to provide "
          "the token to be accepted.",
      )
      server_arguments.add_argument(
          "--cors",
          nargs="*",
          type=str,
          help="Enable CORS for the passed origin. Use * to whitelist all origins.",
      )
      server_arguments.add_argument(
          "--enable-api",
          action="store_true",
          help="Start the web server API in addition to the input channel.",
      )
      server_arguments.add_argument(
          "--response-timeout",
          default=constants.DEFAULT_RESPONSE_TIMEOUT,
          type=int,
          help="Maximum time a response can take to process (sec).",
      )
      server_arguments.add_argument(
          "--request-timeout",
          default=constants.DEFAULT_REQUEST_TIMEOUT,
          type=int,
          help="Maximum time a request can take to process (sec).",
      )
      server_arguments.add_argument(
          "--remote-storage",
          help="Set the remote location where your Rasa model is stored, e.g. on AWS.",
      )
      server_arguments.add_argument(
          "--ssl-certificate",
          help="Set the SSL Certificate to create a TLS secured server.",
      )
      server_arguments.add_argument(
          "--ssl-keyfile",
          help="Set the SSL Keyfile to create a TLS secured server.",
      )
      server_arguments.add_argument(
          "--ssl-ca-file",
          help="If your SSL certificate needs to be verified, "
          "you can specify the CA file "
          "using this parameter.",
      )
      server_arguments.add_argument(
          "--ssl-password",
          help="If your ssl-keyfile is protected by a password, you can specify it "
          "using this paramer.",
      )
      channel_arguments = parser.add_argument_group("Channels")
      channel_arguments.add_argument(
          "--credentials",
          default=None,
          help="Authentication credentials for the connector as a yml file.",
      )
      channel_arguments.add_argument(
          "--connector", type=str, help="Service to connect to."
      )
  
      add_jwt_arguments(parser)
  
file_path: rasa/rasa/cli/arguments/run.py
imports: import os
  import argparse
  from typing import Union
  from rasa.cli.arguments.default_arguments import add_model_param, add_endpoint_param
  from rasa.core import constants
  from rasa.env import DEFAULT_JWT_METHOD, JWT_METHOD_ENV, JWT_SECRET_ENV, JWT_PRIVATE_KEY_ENV, AUTH_TOKEN_ENV
label_desc: Use image node_id 6 for calling a global function with example usage: add_server_settings_arguments(parser) without return types