{"id":32750497,"url":"https://github.com/furkankayam/spring-boot-vault-config","last_synced_at":"2026-04-14T04:03:53.594Z","repository":{"id":321305341,"uuid":"1085338904","full_name":"furkankayam/spring-boot-vault-config","owner":"furkankayam","description":"✅ Secure configuration and secrets management in Spring Boot using HashiCorp Vault","archived":false,"fork":false,"pushed_at":"2025-10-28T23:07:21.000Z","size":660,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-29T00:34:19.046Z","etag":null,"topics":["docker","docker-compose","gradle","java","spring-boot","vault"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/furkankayam.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-28T22:50:09.000Z","updated_at":"2025-10-28T23:07:25.000Z","dependencies_parsed_at":"2025-10-29T00:34:22.182Z","dependency_job_id":"b95d19e8-c4b2-4c56-bea5-6bdbe8fd77b1","html_url":"https://github.com/furkankayam/spring-boot-vault-config","commit_stats":null,"previous_names":["furkankayam/spring-boot-vault-config"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/furkankayam/spring-boot-vault-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/furkankayam%2Fspring-boot-vault-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/furkankayam%2Fspring-boot-vault-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/furkankayam%2Fspring-boot-vault-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/furkankayam%2Fspring-boot-vault-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/furkankayam","download_url":"https://codeload.github.com/furkankayam/spring-boot-vault-config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/furkankayam%2Fspring-boot-vault-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31781292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","gradle","java","spring-boot","vault"],"created_at":"2025-11-03T23:01:01.102Z","updated_at":"2026-04-14T04:03:53.579Z","avatar_url":"https://github.com/furkankayam.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔒 Spring Boot Vault Config\n\n\u003cbr\u003e\n\n- ✅ **This project demonstrates HashiCorp Vault integration for securely managing sensitive information (credentials, API keys, database passwords, etc.) in Spring Boot applications**\n\n\u003cbr\u003e\n\nUsed Technologies in The Project:\n\n[![Java](https://img.shields.io/badge/java-17.0-000?style=for-the-badge\u0026logo=openjdk\u0026logoColor=white\u0026color=FF9A00)](https://www.java.com/en/)\n[![Spring Boot](https://img.shields.io/badge/spring%20boot-3.5-000?style=for-the-badge\u0026logo=springboot\u0026logoColor=white\u0026color=6DB33F)](https://spring.io/)\n[![HashiCorp Vault](https://img.shields.io/badge/Vault-4.0-000?style=for-the-badge\u0026logo=vault\u0026logoColor=white\u0026color=FFEC6E)](https://www.vaultproject.io/)\n[![Gradle](https://img.shields.io/badge/Gradle-9.0-000?style=for-the-badge\u0026logo=gradle\u0026logoColor=white\u0026color=02303A)](https://gradle.org/)\n[![Docker](https://img.shields.io/badge/Docker-28.3-000?style=for-the-badge\u0026logo=Docker\u0026logoColor=white\u0026color=2496ED)](https://docs.docker.com/)\n\n\u003cbr\u003e\n\n## 📖 Documentation\n\n[![Vault Setup Guide](https://img.shields.io/badge/📘_Vault_Setup_Guide-Click_Here-blue?style=for-the-badge)](./VAULT_SETUP.md)\n\n\u003cbr\u003e\n\n## 🚀 How to Run\n\n1. **Start Vault** (See Documentation section above)\n\n2. **Run the Application**\n```sh\n./gradlew bootRun\nThe application will start on http://localhost:8080\n```\n\n\u003cbr\u003e\n\n## 🔌 API Endpoints\n\n### Test Endpoint\n\n**GET** `http://localhost:8080/hello`\n\nReturns the secret value from Vault.\n\n### Refresh Configuration\n\n**POST** `http://localhost:8080/actuator/refresh`\n\nRefreshes the application configuration from Vault without restarting the application.\n\n**Example with cURL:**\n```bash\ncurl -X POST http://localhost:8080/actuator/refresh\n```\n\n\u003cdetails\u003e\n\u003csummary\u003e📸 Click to see the refresh response\u003c/summary\u003e\n\n\u003cimg src=\"./images/refresh-properties.png\" alt=\"Refresh Properties Response\"\u003e\n\nThe response shows which configuration properties were successfully reloaded from Vault.\n\u003c/details\u003e\n\n\u003cbr\u003e\n\n## 🔄 Dynamic Configuration Update\n\nThis project uses `@RefreshScope` to enable dynamic configuration updates:\n\nUpdate your secret value in Vault\nCall the refresh endpoint: POST http://localhost:8080/actuator/refresh\nThe new value will be reflected immediately without restarting the application\n**Example Flow:**\n```sh\n# 1. Check current value\ncurl http://localhost:8080/hello\n\n# 2. Update value in Vault UI\n\n# 3. Refresh configuration\ncurl -X POST http://localhost:8080/actuator/refresh\n\n# 4. Check updated value\ncurl http://localhost:8080/hello\n```\n\n\u003cbr\u003e\n\n## 📄 License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details\n\n**Created by** [Mehmet Furkan KAYA](https://www.linkedin.com/in/mehmet-furkan-kaya/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffurkankayam%2Fspring-boot-vault-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffurkankayam%2Fspring-boot-vault-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffurkankayam%2Fspring-boot-vault-config/lists"}