I am new to Mgmt_cli and APIs. I want to login into mgmt server with cli tool and add new IP host objects into existing group to blacklist public IP which is threat source. I can do this very well with below commands
C:\CP>mgmt_cli add host name 220.127.116.11 ip-address 18.104.22.168 -u admin -p Cp@123 -m 10.x.y.z
C:\CP>mgmt_cli set group name "blacklist" members.add "22.214.171.124" -u admin -p Cp@123 -m 10.x.y.z
But I dont want to store the info of userame and password in the script and instead want to have a user created who can login with personal certificate and i can store that certificate in a volume which cant be read by anyone else...is this possible?