Secure Storage


This plugin gets, sets and removes key,value pairs from a device's secure storage.

Requires Cordova plugin: cordova-plugin-secure-storage. For more info, please see the Cordova Secure Storage docs.

The browser platform is supported as a mock only. Key/values are stored unencrypted in localStorage.

Stuck on a Cordova issue?


ionic cordova plugin add cordova-plugin-secure-storagenpm install @ionic-native/secure-storage
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEYnpm install @ionic-enterprise/secure-storage

Supported Platforms

  • Android
  • Browser
  • iOS
  • Windows