When building an automated backup solution either you need to hard code the password (DON’T DO THIS) or use SSH keys. Layne Miller has writing a brilliant guide on how to do.

https://developer.ibm.com/apiconnect/2016/06/22/automating-apic-management-cli-operations/

By Chris Phillips on March 7, 2018.

Canonical link

Exported from Medium on April 6, 2019.