In case we need to access the Actuator's endpoints from the outside, for example, from another AWS's region, and we want to authenticate the request using JWT, we can exclude these endpoint requests from Spring Security's verification by permitting all these requests, and then create a custom filter to process these requests by verifying the JWT token.