简体   繁体   中英

how to change existing environment variables in my openshift application?

I have an application hosted on openshift , with a mysql database, now as per features, they have mysql username, password in env variables, but i want to change the evn variable for mysql password as they show the password, as soon as we login, is there any way to change, i googled a lot, but links were either 404 or the answers were pointing to 404 links. would appropriate an answer as soon as possible...here are some of the links which i tried link one link two and 404 link

You can use the rhc env set command to add/update your environment variables, but be careful as those env variables can be used within your application, and changing them can cause login issues with your database etc

https://developers.openshift.com/en/managing-environment-variables.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM