Authentication commands (Windows)

Use authentication commands to log in to the ASoC service.

appscan api_login

Syntax:

appscan api_login -P <key_secret> -u <key_id>  -persist 

Description:

Log in to ASoC using a generated API key.

Required options:

  • -P: Specify -P <key_secret>, where <key_secret> is the Key Secret that was created when you generated an API key.
  • -u: Specify -u <key_id>, where <key_id> is the Key Id that was created when you generated an API key.
Optional flags/settings:
  • -persist: Automatically attempt to reauthenticate to the service when the login token file expires.
Tip: For all commands, options can be used in any order.
Important: The api_login command is used for logging in from the CLI to the ASoC service on Cloud Marketplace only.