These are chat archives for spring-cloud/spring-cloud
For those using Spring Cloud Config for properties to connect to Mongo, for instance, how are you encrypting the password when using
spring.data.mongo.uri? It seems we can't encrypt only a portion of the property value, but we also can't use
spring.data.mongo.uri, as far as I understand.
Thus the options seem to be:
1) encrypt the entire
uri property including the non-sensitive parts and add it to the sensitive keys
2) set the password as a separate encrypted property and make your own
Mongo bean that uses it
Or has anyone else found a better way to handle this using the Spring Boot auto config and Cloud Config?
uriproperty. Of course I still need to add
urito the keys to sanitize to not leak the password from the