You plan to automate creating new objects using new R80 Management API. You decide to use GAIA CLI for this task.
What is the first step to run management API commands on GAIA’s shell?
A. mgmt_admin@teabag > id.txt
B. mgmt_login
C. login user admin password teabag
D. mgmt_cli login user "admin" password "teabag" > id.txt
mgmt_cli is used in Expert mode
mgmt login used in GAIA CLI (clish)
Most correct answer is B
whitout “_”
mgmt cli
edit :
mgmt login
sorry
Ans: is D
mgmt_cli login user me password secret
this is for “mgmt_cli” tool, the question references gaia cli so the syntax is “mgmt login”
https://sc1.checkpoint.com/documents/latest/APIs/#clish/login~v1.6%20
correct, but has typo (should be no underscore).
correct syntax is:
mgmt login
True, reference here:
https://sc1.checkpoint.com/documents/latest/APIs/#introduction~v1.6%20