I see the agent has “agent.setup.serverPword” in agent.properties. I don want my password in plaintext in a file. How can I avoid doing this?
First, a quick explanation why that password is needed. When the agent is first installed, it is unknown to the server. The agent must register with the server and say, “here I am”. At that point, the server assigns an “agent token” to the agent and sends that token to the agent. The agent takes the token, persists it, and forever after will use that token as part of its authentication mechanism when talking to the server. The next time the agent wants to send a message to the server, it does not authenticate itself with that password, rather, it sends up that token given to it by the server in order to identify itself. Therefore, you can see the agent really only ever needs or uses that password the very first time it talks to the server after the agent is installed. If you do not want to store the password in your agent.properties file, you can safely take it out. You do not need it there.
Related Questions
- I see the agent has "agent.setup.serverPword" in agent.properties. I don want my password in plaintext in a file. How can I avoid doing this?
- I want to export a PDF file into RTF/Word format. What is the quickest way of doing this?
- Can I avoid plaintext passwords in the network configuration file enfuzion.nodes?