豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

linux-china/dotenvx-boot-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotenvx Spring Boot demo

Get Started with JetBrains IDE

Install Dotenvx JetBrains Plugin from the plugin manager.

Open application.properties, and press macOS: ⌘N or Windows/Linux: Alt+Insert to popup Generate menu, and select the options, such as Add public key or Add encrypted variables.

Get Started with CLI

Download the last version of dotenvx-cli, or install it by following the instructions below.

  • homebrew: brew install linux-china/tap/dotenvx-rs
  • cargo: cargo binstall dotenvx-rs
  • shell: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/linux-china/dotenvx-rs/releases/download/v0.4.15/dotenvx-rs-installer.sh | sh

Create your dotenvx key pair:

$ cd dotenvx-boot-demo
$ dotenvx set --encrypt nick Jackie
$ dotenvx -p test set --encrypt nick Tester

Then check your application.properties and start the application.

References

About

Dotenvx with Spring Boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages