Skip to content

Commit 57f8264

Browse files
committed
docs: add dependency
1 parent 64ac875 commit 57f8264

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,17 @@ dotenv.public.key=02e8d78f0da7fc3b529d503edd933ed8cdc79dbe5fd5d9bd480f1e63a09905
1717
nick=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+
2031
Start your Spring Boot application, and add `-Ddotenv.private.key=your_private_key` to the command line,
2132
and dotenvx start will automatically decrypt the `encrypted:` prefixed items in your properties or YAML files.
2233
If you are using [Spring Debugger](https://www.jetbrains.com/help/idea/spring-debugger.html),

0 commit comments

Comments
 (0)