About this task
You can also use an alternative way to use the secret string in an authentication app by
generating a QR code that is sent to the user.
Procedure
To generate a QR code for a user, complete the following steps:
-
Create a URL key for a specific user account using the following
command:
iepasswd -k <username> | qrencode -t <image_type>
<url_key>where:
| Parameter |
Description |
Example |
| <username> |
The user account to set the URL key for |
admin |
| <image_type> |
The generated image type. |
UTF8 |
| <url_key> |
The URL string from the iepasswd command. |
otpauth://totp/admin?secret=C8AOWII6PYVMLMD1OSD2YCGILM&
issuer=engine.example.com |
- Send the QR code image to the user.