Authentication commands (Linux™ and macOS)
Use authentication commands to log in to the ASoC service.
appscan.sh
api_login
Syntax:
appscan.sh api_login -P <key_secret> -u <key_id> -persist
Description:
Log in to the ASoC 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.
-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.