目录

Overview of the Password Autofill Service

Function Overview

HarmonyOS provides the Password Vault feature, which delivers a seamless password-free login experience for users.

This feature allows easy generation, secure saving, and automatic filling of strong passwords with just a few taps during the registration or login in an application or browser. Users no longer need to remember or manually enter complex passwords, as the system offers centralized and robust password management.

Identity authentication is required for users to access their passwords or utilize the password autofill feature. The passwords are accessible only after the users enter correct passwords or complete fingerprint or facial authentication.

Scenario

The Password Vault feature can be used in the following scenarios:

The passwords generated during registration and login can be viewed on the Password Vault screen as follows: Choose Settings > Privacy & security > Password Vault and view all saved passwords after authenticating via the lock screen password or biometrics (fingerprint/facial recognition)

Architecture

The Password Vault feature leverages Asset Store Kit to save and protect user accounts and passwords, as shown in the following figure.

The system identifies the scenario (such as login, registration, or password change) based on user operations, and provides password-free login services accordingly.

The password autofill feature is implemented with user identity authentication. If a user specifies a particular account password for autofill, user identity authentication (lock screen password, fingerprint, or facial authentication) is performed to ensure that the right person accesses the right data.

Figure 1 Password Vault architecture

Emulator Support

This module is not supported on the Emulator.