GENERATE SECRET (Generate a shared secret for multifactor authentication)

Use this command to generate a shared secret. A shared secret is used to create a time-based, one-time token for multifactor authentication.

When an administrator is required to use multifactor authentication, the administrator must provide a time-based, one-time token as a second authentication factor to sign on to the server. The time-based, one-time token is created by using a shared secret that is a base32 encoded text string.

Privilege class

Any administrator can issue this command.

Syntax

Read syntax diagramSkip visual syntax diagramGENerate SECRET

Parameters

None.

Example: Generate a shared secret

Generate a shared secret.
generate secret

Related commands

Table 1. Commands related to GENERATE SECRET
Command Description
REGISTER ADMIN Defines a new administrator.
UPDATE ADMIN Changes the password or contact information associated with any administrator.