Authentication commands (Linux™ and macOS)
Use authentication commands to log in to the AppScan 360° service.
appscan.sh
api_login
Syntax:
appscan.sh api_login -P <key_secret> -u <key_id> -acceptssl -persist -service_url <service_url
Description:
Log in to the AppScan 360° service on Cloud Marketplace 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.
-acceptssl
: Allow for untrusted connections.-persist:
Automatically attempt to reauthenticate to the service when the login token file expires.-service_url
: The URL of the AppScan 360° service.
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
AppScan 360° service on Cloud Marketplace only.