title: How to set Spring camel case property with uppercase environment variable?
body: <p>I have some code to load a value as such in my Spring application:</p>
  
  <pre><code>@Component
  public class MyElasticRestService {
      @Value("${elasticApi.baseURL}")
      private String elasticApiBaseUrl;
  </code></pre>
  
  <p>According to <a href="https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html#boot-features-external-config-relaxed-binding" rel="noreferrer">the Spring docs</a>, I should be able to use a relaxed binding that comes from an uppercase environment variable such as <code>ELASTIC_API_BASE_URL</code> or <code>ELASTICAPI_BASEURL</code>. But I'm confused which is correct. Both don't seem to work so I am wondering how to debug what is actually picked up.</p>
  
  <p>I've loaded Spring Boot Actuator to view the <code>configprops</code> endpoint. But it doesn't have anything on the <code>elasticApi</code> prefix.</p>
  
  <p>What should the correct environment variable be and how can I see how it gets translated and picked up by the application?</p>