File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,13 @@ or `application.yml`.
66
77# Get Started
88
9- Download dotenvx-cli from [ dotenvx-rs] ( https://github.com/linux-china/dotenvx-rs ) ,
9+ Download the last version of dotenvx-cli from [ dotenvx-rs] ( https://github.com/linux-china/dotenvx-rs ) ,
1010and follow the steps below to add encrypted items.
1111
1212``` bash
13- $ cd project_dir
13+ $ cd spring-boot-project-dir
1414$ dotenvx init
15- $ ls .env*
16- $ cd src/main/resources
17- $ dotenvx -f application.properties nick Jackie
15+ $ dotenvx set --encrypt nick Jackie
1816```
1917
2018` application.properties ` content example:
@@ -53,4 +51,4 @@ and you will notice the decrypted value as hints in the configuration files.
5351* [ Dotenvx] ( https://dotenvx.com/ ) : encrypts your .env files, limiting their attack vector while retaining their
5452 benefits.
5553* [ dotenvx-rs] ( https://github.com/linux-china/dotenvx-rs ) : Dotenvx Rust SDK/CLI
56- * [ dotenvx-java] ( https://github.com/linux-china/dotenvx-java ) : Dotenvx Java SDK
54+ * [ dotenvx-java] ( https://github.com/linux-china/dotenvx-java ) : Dotenvx Java SDK
You can’t perform that action at this time.
0 commit comments