security login totp show
Display TOTP secret
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The security login totp show
command displays information about secret keys.
Parameters
- {
[-fields <fieldname>,…]
-
If you specify the
-fields <fieldname>, …
parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify. - |
[-instance ]
} -
If you specify the
-instance
parameter, the command displays detailed information about all fields. [-vserver <vserver name>]
- Vserver-
Selects the secret keys that match this parameter value.
[-username <text>]
- Username-
Selects the secret keys that match this parameter value.
[-fingerprint <text>]
- TOTP Secret key fingerprint-
Select the secret keys that match this parameter value.
[-enabled {true|false}]
- TOTP Status-
Selects the secret keys that match this parameter value.
[-comment <text>]
- Comment-
Selects the secret keys that match this parameter value.
Examples
The example below displays secret key information for the user named tsmith.
cluster1::> security login totp show -username tsmith UserName: tsmith TOTP SHA Fingerprint: 7038eb494f8b86726bdfae9da1fbadb348f8fe26116f49e09f718a7b8bdd73b8 TOTP status: true Comment: This is a new key