Who rated this post

cancel
Showing results for 
Search instead for 
Did you mean: 
spottex
Collaborator

Create id file first

mgmt_cli login user <username> domain <domain-ip> id.txt

 

You don't actually need the domain switch if using id file:
mgmt_cli show vpn-communities-star limit 200 details-level full -s id.txt --format json | $CPDIR/jq/jq -r '.objects[] | "NAME/PSK,\([.name,."use-shared-secret"])"'

(1)
Who rated this post