17.2. Registering a passkey device
As a user you can configure authentication with a passkey device. A passkey device is compatible with any FIDO2 specification device, such as YubiKey 5 NFC. To configure this authentication method, follow the instructions below.
Prerequisites
- The PIN for the passkey device is set.
Passkey authentication is enabled for an IdM user:
# ipa user-add user01 --first=user --last=01 --user-auth-type=passkeyUse the
ipa user-modwith the same--user-auth-type=passkeyparameter for an existing IdM user.- Access to the physical machine to which the user wants to authenticate.
Procedure
- Insert the passkey device in the USB port.
Register the passkey for the IdM user:
# ipa user-add-passkey user01 --registerFollow the application prompts:
- Enter the PIN for the passkey device.
Touch the device to verify your identity. If you are using a biometric device, ensure to use the same finger with which you registered the device.
작은 정보It is good practice for users to configure multiple passkey devices as a backup that allows authentication from multiple locations or devices. To ensure the Kerberos ticket is issued during authentication, do not configure more than 12 passkey devices for a user.
Verification
Log in to the system with the username you have configured to use passkey authentication. The system prompts you to insert the passkey device:
Insert your passkey device, then press ENTER.Insert the passkey device into the USB port and enter your PIN when prompted:
Enter PIN: Creating home directory for user01@example.com.Confirm the Kerberos ticket is issued:
$ klist Default principal: user01@IPA.EXAMPLE.COM
Note, to skip passkey authentication, enter any character in the prompt or enter an empty PIN if user authentication is enabled. The system redirects you to password based authentication.
If you enter the PIN for your passkey device incorrectly 3 times, disconnect the physical token and reconnect it to the USB port and perform a successful authentication. If you do not complete a power cycle, you will not be able to authenticate even if you enter the PIN correctly.