Security Settings

Plaid generates sensitive information that needs to be stored. Therefore, there is a security layer where this information is encrypted for greater security.

For this, you need to set this environment variable:

ENCRYPTION_SECRET_KEY = <YourEncryptionKey>
ENCRYPTION_IV= <YourEncryptionIV>

You can see more information about how to save encrypted data in the next section: DB Fields Encryption

The Plaid documentation explains the flow to establishing a connection, which you can see in this link.

When you establish a connection, the end result is an access token that does not have an expiration time, and must be stored to query any information about the account(s) you set up. So this access_token is stored in an encrypted form.

NOTE: Remember to store your secret key because, if you lose it or modify it by mistake, you will not be able to read the encrypted data in the database.

Last updated