Skip to content

Commit 41521e2

Browse files
committed
docs: add How dotenvx-spring-boot reads private keys
1 parent 5ad4e9f commit 41521e2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,13 @@ DOTENV_PRIVATE_KEY=a7a0006f9136c246937a5ae60f11cfb71541df0dac389015e6916b3ebbe17
7878
DOTENV_PRIVATE_KEY_TEST=0c8eac932150e0d51cfc59ccbd2c0613298464b2922d900b96511cf7239b7aa5
7979
```
8080

81+
# How dotenvx-spring-boot reads private keys
82+
83+
- Read `dotenv.private.key` from `ConfigurableEnvironment`
84+
- Read `DOTENV_PRIVATE_KEY` in your environment variables
85+
- Read private key from `$HOME/.dotenvx/.env.keys.key` file by the public key
86+
- Read private key from `.env.keys` or `$HOME/.env.keys` file
87+
8188
# Credits
8289

8390
* jasypt-spring-boot: https://github.com/ulisesbocchio/jasypt-spring-boot

0 commit comments

Comments
 (0)