concept keystore credential in category microservice

This is an excerpt from Manning's book Microservices Security in Action.
First, don’t do this in a production deployment! Kubernetes stores anything that you store in a ConfigMap in cleartext. To store credentials in a Kubernetes deployment, we use a Kubernetes object called Secret instead of a ConfigMap. We talk about Secrets later in section 11.3. Until then, we’ll define keystore credentials in a ConfigMap.
Listing 11.7 shows the definition of the
sts-keystore-credentialsConfigMap. There we pass the password to access the keystore.jks file under theKEYSTORE _PASSWORDkey, and the password to access the jwt.jks file under theJWT_KEYSTORE _PASSWORDkey, both under thedataelement. You can find the complete ConfigMap definition of keystore credentials in the chapter11/sample01/sts.configuration.yaml file.