Creating a new recovery code

Description

You can no longer find the recovery code that was issued when you registered your AGOV account.

Instructions

If at least one functioning login factor (AGOV access app or security key) is registered in your AGOV account, you can create a new recovery code.
  1. Log in to your (agov.ch/me) AGOV account.
    This image shows the login page of AGOV, where a QR code is visible.
    Click on the image to enlarge


  2. Go to Login factors , click on the "Recovery code" button and select Manage code .
    Screenshot of the AGOV account where a new recovery code can be generated under login factors.
    Generate a new recovery code.


  3. Click on Create new code .
    Instructions for creating a new recovery code.
    Create a new recovery code.


  4. Creation of the new code must be confirmed with a login factor.

    Confirmation with AGOV access app on smartphone or tablet ▼
    ×

    The prompts may differ depending on the Android and iOS version.

    1. You will receive a push notification from AGOV access app, which will be displayed in the status bar on your smartphone or tablet. Click on the push notification to confirm the entries with the AGOV access app.
      Request for confirmation of push message in the AGOV access app.
      Push message sent.


      The status bar displays the push notification received for confirmation.
      Push message in the status bar on an Android smartphone.


      iPhone: The notification centre displays the push notification received for confirmation.
      Push message in the notification centre on an iPhone.


      If no push notification is displayed, check whether push notifications for the AGOV access app are enabled (see help article: Why doesn't the AGOV access app receive push notifications?).


    2. Confirm using your PIN, fingerprint or Face ID.
      Confirm the push message in the AGOV access app with your PIN, fingerprint or Face ID.
      Confirmation with fingerprint in the AGOV access app.


    3. Click on Continue to finalise the confirmation.
      Successful registration is displayed in the AGOV access app.
      Click Continue to finalise.



    Confirmation with security key on Windows
    ×

    The prompts may vary depending on the Windows version.
    1. Click on Start confirmation.
      Image with the instructions for confirmation with the security key is displayed.
      Start confirmation.


    2. Select the security key option and connect it to your PC's USB port.
      Select the Security Key option.
      Selecting and connecting the security key.


    3. Enter your security key PIN.
      Enter the security key PIN.
      Enter the PIN of the security key.


    4. Tap to confirm your security key.
      Prompt to tap the security key.
      Tap the security key.



    Confirmation with security key on MacOS
    ×

    The dialogue may differ depending on the MacOS version and the web browser used.

    Dialog with Safari web browser

    1. Click on Start Verification.
      Image with the instructions for confirmation with the security key is displayed.
      Start confirmation.


    2. Select the Security Key option.
      Select the Security Key option.
      Selecting the security key.


    3. Attach the security key to your Mac and tap it.
      Connect the security key to your Mac, tap it.
      Connect the security key to your Mac, tap it.


    4. Enter the PIN of your security key. Tap the security key to confirm.
      Enter the security key PIN.
      Enter PIN security key.


      Re-insert the security key and activate it.
      Re-insert the security key and activate it.


    Dialog with Chrome and Firefox web browser
    1. Click on Start Verification.
      Image with the instructions for confirmation with the security key is displayed.
      Start confirmation.


    2. Select the Security Key option.
      This image shows the selection of the passkey for agov.admin with the USB security key option.
      Select the Security Key option.


    3. Connect the security key to your Mac and tap it.
      Prompt to insert and press the security key.
      Insert and press the security key.


    4. Enter the PIN of your security key. Tap the security key to confirm.
      Enter the security key PIN.
      Enter the security key PIN.


      Prompt to tap the security key.
      Tap the security key.



  5. The new code is displayed masked.
    The new recovery code is displayed covered.
    Covered recovery code.


  6. Unhide the new code by clicking on Show code and make a note of it, or download the PDF to save or print.
    The new recovery code is displayed and can be copied or downloaded as a PDF document.
    Your new recovery code is displayed.


    Display of the PDF document with the new recovery code.
    PDF document with the new recovery code.


Related help articles

Recovering an account with a recovery code
Recovering an account without a recovery code
Recovery link not working


Were we able to help you?
 
Read more help articles →