Method: addAuthCredential
Add a command line interface credential to the database.
Parameters
Name | Type | Description |
---|---|---|
username | string | Username for the credential |
description | string | Brief description of the credential |
loginPassword | string | Password for the credential |
enablePassword | string | Enable password for the credential |
configurationPassword | string | Configuration password for the credential |
type | string | Type of login session, available options are:
-SSH -Telnet |
Returns
The operation returns an integer error code.
Example
Execute the following web service with a browser:
https://192.168.30.34:8443/axis/services/NetSightDeviceWebService/addAuthCredential?username=admin&description=Extreme-Switch&loginPassword=password&enablePassword=&configurationPassword=&type=SSH