Paul,

Is the value in properties 'secrect' a typo?
What about case, SECRET != secret?

Ray

On Thu, 2020-06-25 at 08:04 -0700, Paul Roemer wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hey guys,

today we noticed that we are not able to override properties set in some 
application properties file by environment variables.
For example, we have some property 'secrect' that we configure with value 
'unknown' in application-production.properties. Now, for the deployment we want 
to override the property by setting the env variable SECRET=dontaskme. But it 
fails and it's still 'unknown'. On the other hand after removing the property 
'secret' from the application-production.properties, the environment variable 
is taken into account and the value is 'dontaskme'.

So, does CAS not behave as normal Spring Boot applications when it comes to 
property overrides?

Cheers,
  Paul

--

Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | [email protected]<mailto:[email protected]>

I respectfully acknowledge that my place of work is located within the 
ancestral, traditional and unceded territory of the Songhees, Esquimalt and 
WSÁNEĆ Nations.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/a40220e9d3d58b0fa6f96832958f79d37b6ee716.camel%40uvic.ca.

Reply via email to