Copying the map provided to secretsEnginePathMap - making it ConcurrentHashMap for consistency, though builders are usually modified within a single thread, so a concurrent hash map is not really necessary.
Added convenience method putSecretsEngineVersionForPath for adding a single entry to the map
Also consider switching to https://immutables.github.io/ for builders - takes a lot of boiler-plate away and offers a lot of useful helper methods by default
secretsEnginePathMap
publicsecretsEnginePathMap
- making itConcurrentHashMap
for consistency, though builders are usually modified within a single thread, so a concurrent hash map is not really necessary.putSecretsEngineVersionForPath
for adding a single entry to the mapAlso consider switching to https://immutables.github.io/ for builders - takes a lot of boiler-plate away and offers a lot of useful helper methods by default