Password-less SSH-based Login for Admin User

Starting with release 16.3, Avi Vantage enables the admin user to log in using SSH keys, rather than having to supply a password.

CLI

To upload a key:

upload adminkey public_key "<public key>"

To delete a specific key:

delete adminkey public_key "<public key>"

To delete all the keys:

delete adminkey

Using the Avi REST API

To upload a key:

POST https://<controller-ip>/api/adminkey JSON data: {"key":"<public key>"}

To delete a specific key:

DELETE https://<controller-ip>/api/adminkey?key=<public key>

To delete all the keys:

DELETE https://<controller-ip>/api/adminkey?key

Updated: 2018-01-19 07:12:29 +0000