-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #248 from friggframework/feature/lef-935-add-a-con…
…fig-to-bypass-encryption-depending-on-the-stage Added variable BYPASS_ENCRYPTION_STAGE to encrypt module
- Loading branch information
Showing
3 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
# encrypt | ||
|
||
This package exports the `encrypt` mongoose plugin used in [Frigg](https://friggframework.org). You can find its documentation [on Frigg's website](https://docs.friggframework.org/packages/encrypt). | ||
|
||
## Configuration | ||
|
||
| Environment variable | Description | | ||
|-------------------------|------------------------------------------------------------------------------------------------------------| | ||
| KMS_KEY_ARN | The AWS KMS Key ARN, if using it to encryption/decryption. | | ||
| AES_KEY | AES key, used in conjunction with AES_KEY_ID. AES option is mutually exclusive with KMS_KEY_ARN. | | ||
| AES_KEY_ID | AES key ID, used in conjunction with AES_KEY. | | ||
| STAGE | The stage in which the application is running. It is usually defined in Serverless configuration, if used. | | ||
| BYPASS_ENCRYPTION_STAGE | Stages to bypass encryption/decryption, separated by comma. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters