Tags
- node js
- merge sort
- OpenAPI
- Rp2๊ธฐ
- Java
- Quick Sort
- MAKE US
- ๋ฆฌ๋ ์ค ๋ช ๋ น์ด
- SSL
- mysql
- GIT
- ๊ตฌ๊ธ ์์ ๋ก๊ทธ์ธ
- ์์คํ ์ํํธ์จ์ด
- spring์ผ๋ก https ์ ์ฉ
- spring ์์ ๋ก๊ทธ์ธ
- C++
- aligoapi
- MethodArgumentNotValidException
- Data Structure
- DATABASE
- @CreatedDate
- ํจ์คํธ์บ ํผ์คX์ผ๋์
- SQL
- Unity
- docker
- spring ๊ตฌ๊ธ ์์ ๋ก๊ทธ์ธ
- java error
- Spring
- RP 2๊ธฐ
- datagrip
๋ชฉ๋กSecretKey (1)
YS's develop story

gradle์ ์ถ๊ฐ // dotenv-java implementation 'io.github.cdimascio:java-dotenv:+' . envํ์ผ ์์ฑํ์ฌ ์ต์๋จ์ ๋ฃ๊ธฐ GOOGLE_MAP_API_KEY=apikey . gitignore๋ก. envํ์ผ ๋ฑ๋ก # Ignore .env files .env ์๋์ ๊ฐ์ด ๋ฑ๋ก๋ secretKey ์ฌ์ฉ private static Dotenv dotenv = Dotenv.load(); private static final String API_KEY = dotenv.get("GOOGLE_MAP_API_KEY"); application.yml ํ์ผ์ import: optional:file:.env[.properties] ํญ๋ชฉ ์ถ๊ฐ spring: profiles: ..
๊ธฐํ/ํจ์บ X์ผ๋์ ํ
ํฌ์ค์ฟจ
2023. 11. 18. 21:46