The login factors registered on the account are listed. Click Next to remove the login factors and start the verification.
Display of registered login factors in your account for review. When you restore your account, all existing login factors will be removed from your account.
Have you lost access to your login factors?


Select the login factor you want to add to the account. Confirm the selection.
Display the login factor, AGOV access app, security key that you want to add to the account.
Select a login factor.


    a) Scan the QR code with the AGOV access app.
    Display of the QR code for scanning with your AGOV access app.
    Scan QR codes with the AGOV access app.


    b) Register your security key.

    Add a security key in Windows
    ×

    1. Select the option Security key and connect it to your computer's USB port. In newer Windows versions, the first step is to select the option Use another device.
      Register the security key under other devices
      Register the security key under other devices

      Image with the option to select the security key as a passkey.
      Select the security key as the passkey.


    2. Confirm the next two prompts.
      Confirm the Windows security message to set up the security key.
      Confirm Windows security message.


      Confirm the Windows security message to set up the security key.
      Confirm Windows security message.


    3. Enter your security key PIN. If the security key has never been used before, you can set a new PIN.
      Image to enter the PIN of the security key.
      Enter the security key PIN.


      Image to set a new PIN and repeat if the security key has never been used before.
      Set a new PIN and repeat it if the security key has never been used.


    4. Tap to confirm your security key.
      An image asking them to tap their security key.
      Tap your security key.


    5. The security key has been successfully registered as a login factor.
      Image confirming that the security key has been registered as a login factor.
      Successful registration of your security key.


    Add a security key in macOS
    ×

    To login with a FIDO2 security key on a macOS computer at agov.ch, we recommend using Google Chrome (or Microsoft Edge) on your Mac. These browsers provide the most reliable support for FIDO2/WebAuthn technology, especially when used with USB security keys or Touch ID. Firefox is not recommended as it may experience limitations or malfunction when using FIDO2 on macOS. Safari also offers limited support.
    Therefore, please use Chrome for registration and login with FIDO2 on agov.ch.


    Notes
    To use security keys on Macs, a PIN must be set before using them for the first time.
    1. Chrome
      Use the Chrome browser to set the PIN on a new security key:
      • Open Chrome and type chrome://settings/securityKeys into the address bar.
      • Insert the FIDO2 key into your computer.
      • Follow the instructions to set or change your PIN.

      Chrome and Firefox web browser prompts
      • Select the Security key option.
        Picture showing the selection of possible passkeys. Select the USB security key.
        Select the USB security key.


      • Connect the security key to your Mac's USB port.
        Image with the prompt to tap to connect your security key to your Mac.
        Attach the security key and tap on it.


      • Enter your security key PIN. Tap to confirm your security key.
        Image for entering the existing PIN of the security key.
        Enter the existing PIN for the security key.


        Chrome web browser only: If the security key has never been used, you can define a new PIN.
        Image to enter and repeat a new PIN for the security key.
        Set and confirm a new PIN for the security key.

    2. Firefox
      Firefox is not recomended on MAC for FIDO2 Scurity Keys.

      Read the instructions anyway
      ×

      If the security key is registered in the Safari browser, the PIN must be set in accordance with the security key manufacturer's instructions. Once the PIN has been set, the security key can be registered in the AGOV account. If no PIN was set before registration, the following error message appears:
      Image with error message if no PIN was set before registration.
      Error message if no PIN was set before registration.

      Registering the security key
      The prompts may vary depending on the MacOS version and the web browser used.

      Safari web browser prompts

      • Select the Security key option.
        Screen with options to log in with a smartphone or security key.
        Login with security key.


      • Connect the security key to your Mac's USB port.
        Image with the prompt to insert the security key into the USB port.
        Insert the security key into the USB port.


      • Enter your security key PIN. Tap to confirm your security key.
        Image to enter the security key PIN with the prompt to tap on the key afterwards.
        Enter your security key PIN.



    3. User guides for security keys are available on the following manufacturers' support websites:
      Token2 security key
      Youbico security key


The registration of the login factor is confirmed.
Registration of login factor is confirmed and the device name is displayed.
Registration successful with display of device name.