

Table of Contents
1. Overview
This article will provide ways to Spring boot disable endpoints security. By default endpoints are secure because it contains sensitive information of application. But some times for development purpose we should like to disable security of end points. So here is way to disable endpoint security:
http://localhost:8080/env

Full authentication is required to access – Endpoint
2. How to disable endpoint security
Disable management security using management.security.enabled
properties in application.properties
or application.yml
2.1 application.yml
management: security: enabled: false
2.2 application.properties
management.security.enabled = false
NOTE: It is not advisable to disable endpoint security in production
2.3 Output:
After disable management security or endpoint security
http://localhost:8080/env

Spring boot disable endpoints security
3. References
Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.