monetr / rest-api

REST API powering our budgeting application.
https://docs.monetr.dev
Other
3 stars 2 forks source link

Log and store Plaid specific data properly. #162

Open elliotcourant opened 3 years ago

elliotcourant commented 3 years ago

Access tokens and Item IDs are the core identifiers that map your users to their financial institutions. Store them securely and associate them with users of your application. Make sure, however, that these identifiers are never exposed client-side. Keep in mind that one user can create multiple Items if they have accounts with multiple financial institutions.

Ensure that the following identifiers are securely logged, as they will be needed when contacting Support about a specific request or callback.

elliotcourant commented 3 years ago

For MVP access tokens will be stored in one of two places:

Right now stuff is just stored in postgresql on the plaid_link table and its stored in plaintext. This is fine for now and might be fine for people who decide to self-host the software (if they have their own Plaid credentials). But for our production environment we need to store this data securely and restrict access to it. Vault will be used in production to handle the access policies to this data, as well as the data's encryption.