security login publickey delete
Delete a public key
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The security login publickey delete command deletes a public key for a specific user. To delete a public key, you must specify a user name and index number.
Parameters
-vserver <vserver name>- Vserver- 
This parameter optionally specifies the Vserver of the user for whom you are adding the public key.
 -username <text>- Username- 
This parameter specifies the name of the user for whom you are deleting a public key. If you do not specify a user, the user named admin is specified by default.
 -application <text>- Application- 
This parameter optionally specifies the application for which you are deleting the public key. Presently, the only supported values are
sshandservice-processor. The default value for this parameter isssh. -index <integer>- Index- 
This parameter specifies an index number for the public key.
 
Examples
The following command deletes the public key for the user named tsmith with the index number 5 along with the certificate if it was installed.
cluster1::> security login publickey delete -username tsmith -application ssh -index 5
The following command deletes the public key at the index number 2 for the 'service-processor' user named 'joed'.
cluster1::> security login publickey delete -vserver cluster1 -username joed -application service-processor -index 2