Skip to content

2025

How to Securely Store Credentials with Capacitor

A common requirement for mobile apps is secure storage of credentials (passwords, tokens, API keys) and user authentication via biometrics (fingerprint, Face ID). With Ionic's Identity Vault and Secure Storage no longer maintained, you can achieve the same with the Capacitor Biometrics plugin and Capacitor Secure Preferences.

For a complete walkthrough on the Biometrcis plugin make sure to read Exploring the Capacitor Biometrics API.

Announcing the Capacitor Secure Preferences Plugin

Today we are excited to announce our brand new Capacitor Secure Preferences plugin. This plugin is a drop-in replacement for the official Capacitor Preferences plugin and allows you to securely store key/value pairs such as passwords, tokens or other sensitive information. The plugin provides cross-platform support for Android, iOS and Web and is now available to all Capawesome Insiders.