What tools are available to change passwords in configuration files?
Question
Passwords are commonly stored in configuration files. How can Idira products be used to manage them?
Environment
v9.0;v9.1;v9.2;9.3;9.5;9.6;9.7;9.8;9.9;9.9.5;9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6
Answer
The CPM Push to File Plugin
The common answer is the CPM push to file plugin can handle this. Unfortunately there are many limitations with that plugin. The plugin is good at pushing clear text passwords into files but beyond that there are two challenges
1) The CPM push to file plugin support for encrypting passwords requires a windows based utility that can be run non-interactively.Some passwords are encrypted by proprietary tools. Many UNIX targets may have proprietary encryption tools that will only run in those environments
2) Many applications only read their configuration files at startup. The push to file plugin cannot restart a target application.
Integrating with AAM
The best case scenario is if the target application is in house developed that it be re-coded to call AAM for a password whenever it is needed by the application. This would require development time from the customer and may require more work re-architecting the application if the current password call is only at startup.
Summon from Conjur
Summon is a tool made by the Conjur team. The tool can be used as a middle man between password API’s like AAM or Conjur and target applications and configuration files. Summon is available for *Nix and Windows
Summon works by looping passwords calls to collect passwords and other variables then executing a script to push those passwords and variables into its target. Once configured Summon can be set on a schedule to pull and push passwords on a regular basis.
The drawback to Summon is its only about as third of the solution needed. It facilitates the running of password collection scripts and the push scripts but those scripts themselves need to be written per solution.
https://github.com/cyberark/summon-conjur
Automatic Password Management is not going to be possible
There are many instances where password management in configuration files is not going to be possible or require a fully customized solution.
1) The encryption or encoding tool is only accessible through a GUI or web UI. Potentially these use cases could be covered by custom plugin development but out of box solutions will not cover them.
2) Password management will not be supported by the target applications vendor. Some vendors will not support automated password management in their product (even if there is a viable proof of concept). Risking loss or degradation of support should be considered when automating password change.