Skip to content

Commit

Permalink
support a 32 byte key (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakprabhakara authored Aug 27, 2024
1 parent 8fbd8d2 commit ce28659
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/jackson/deploy/env-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,12 @@ NPM library option: `db.cleanupLimit`

### **DB_ENCRYPTION_KEY**

To encrypt data at rest specify a 32 character key
To encrypt data at rest specify a 32 byte key (encoded in base64)

You can use openssl to generate a random 32 character key:
You can use openssl to generate a random 32 byte key:

```bash
openssl rand -base64 24
openssl rand -base64 32
```

NPM library option: `db.encryptionKey`
Expand Down

0 comments on commit ce28659

Please sign in to comment.