File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,17 @@ dotenv.public.key=02e8d78f0da7fc3b529d503edd933ed8cdc79dbe5fd5d9bd480f1e63a09905
1717nick =encrypted:BFpnkHl81r6SFJlzpuCNFe70zOezu3vzkOygmRsAqy0H8zsklDBThtgVl6XDKpZOWq+qHimszEusev2xKXgG2ISdYDbcayNZB2Dd2q5qpo2RqUD0AT9XPrJqPT7DVFBw+hFCZwwqdg ==
1818```
1919
20+ Add the following dependency to your ` pom.xml ` :
21+
22+ ``` xml
23+
24+ <dependency >
25+ <groupId >org.mvnsearch</groupId >
26+ <artifactId >dotenvx-spring-boot-starter</artifactId >
27+ <version >0.1.0</version >
28+ </dependency >
29+ ```
30+
2031Start your Spring Boot application, and add ` -Ddotenv.private.key=your_private_key ` to the command line,
2132and dotenvx start will automatically decrypt the ` encrypted: ` prefixed items in your properties or YAML files.
2233If you are using [ Spring Debugger] ( https://www.jetbrains.com/help/idea/spring-debugger.html ) ,
You can’t perform that action at this time.
0 commit comments