About Credential Manager (original) (raw)

Credential Manager is the recommended Jetpack API for credential exchange in Android apps. The Credential Manager API streamlines credential exchange across form factors for use cases spanning authentication and authorization. You can also use Credential Manager to handle digital credentials and restore user credentials on new Android devices.

Credential Manager features

Credential Manager streamlines the sign-in process and enhances security by offering a robust set of capabilities, including:

Benefits of using Credential Manager

Adopting Credential Manager provides several key advantages for both your application and your users:

The Credential Manager user interface for passkeys, passwords, and federated sign-ins

Figure 1. Credential Manager's built-in unified interface for passkeys, passwords, and federated sign-ins

Authentication terminology

An entity that requires authentication for its users is known as a relying party. An authentication workflow typically includes the following components:

Credential storage

Credential providers, such as Google Password Manager, provide a centralized and secure location for users to manage credentials across their devices, further simplifying the authentication process. To integrate with Credential Manager as a credential provider, seeImplement authentication as a credential provider.

For more information about how Google Password Manager keeps your credentials secure, seeSecurity of Passkeys in the Google Password Manager.

Migrate to Credential Manager

Credential Manager is intended to replace legacy Android authentication APIs and local FIDO2 credentials. For more information about migrating to Credential Manager, see the following guides: