Is there to check number of public keys registered in ONTAP users?
Applies to
- ONTAP 9
- Set up a public key authentication for login without a password.
Answer
- Yes, it uses
security login publickey show
command. - The command shows a list of the public key registered on the user.
Example:
2 public keys is registered on user. (user name is monitor)
cluster1::> security login publickey show -vserver cluster1 -username monitor -fields index
vserver username index
-------- -------- -----
cluster1 monitor 1
cluster1 monitor 2
2 entries were displayed.
Additional Information
additionalInformation_text