Reputation: 245
I am using Ionic 7 with Angular for Mobile App development and now need to securely store a key for an REST API.
In my test app, the API key is simply stored inside webservices.component.ts as per below example, but for production, I want to ensure that the API key is not accessible as plaintext, i.e. if someone hacks into the app stored on iOS and/or Android devices.
const MobileApiKey: string = “xxx-aaa-bb-999”;
What are the options?
Upvotes: 0
Views: 39
Reputation: 146
There is several ways to do this, pick your poison:
Upvotes: 0