Skip to content

Commit bc60957

Browse files
committed
docs: add .env.keys example
1 parent 1cc9f57 commit bc60957

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,20 @@ nick2=encrypted:BMVDgpuPNebbj1NIHxJocBLOxBBxZM3oDqBJ8laGYYso1slYeNJcZs/7Qy1NKDsO
6464
Start your Spring Boot application, and add `-Ddotenv.private.key.test=your_private_key` to the command line,
6565
or add `DOTENV_PRIVATE_KEY_TEST=your_private_key_test` to your environment variables.
6666

67+
# .env.keys for application test
68+
69+
```
70+
# ---
71+
# id: 019852dd-8798-7991-b1df-c2c8b743a0e1
72+
# name: spring-boot-test
73+
# group: demo
74+
# ---
75+
76+
# Private decryption keys. DO NOT commit to source control
77+
DOTENV_PRIVATE_KEY=a7a0006f9136c246937a5ae60f11cfb71541df0dac389015e6916b3ebbe170cd
78+
DOTENV_PRIVATE_KEY_TEST=0c8eac932150e0d51cfc59ccbd2c0613298464b2922d900b96511cf7239b7aa5
79+
```
80+
6781
# Credits
6882

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

0 commit comments

Comments
 (0)