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 126.96.36.199 ip-address 188.8.131.52 -u admin -p Cp@123 -m 10.x.y.z
C:\CP>mgmt_cli set group name "blacklist" members.add "184.108.40.206" -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?