Hi,
I would like to know what is the best practice to securely pass the DB password to a job.
Currently I have it defined as Environment variable(encrypted).
Is this the best way to do it?
All the other required parameters are fetched from the table.
Thanks,
Chetan.C
Best practice to pass DB password as Parameter
Moderators: chulett, rschirm, roy
As long as you keep the password in encrypted fields so that they are not easily visible then you've done as much as possible. I like to keep such passwords as encrypted project-level environment variables.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
In version 8.7 you can encrypt the password using the encrypt.sh utility and use that encrypted password directly on the dsjob command line or in the file referred to by that command's -file option.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.