Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Properties files to read the tokes and passwords outside of the perl scripts.

by perlfan (Vicar)
on Dec 14, 2020 at 19:42 UTC ( #11125187=note: print w/replies, xml ) Need Help??


in reply to Properties files to read the tokes and passwords outside of the perl scripts.

No matter what you store in a file, make sure the file with the secrets is properly set to be read only by the effective user (i.e., chmod 600). Another thing to note is that setting an environmental variable explicitly in the parent process using the information in this file will allow child processes to extract the password without require the child to re-read the file or have to pass it via commandline argument (which will show your password in the process list).
  • Comment on Re: Properties files to read the tokes and passwords outside of the perl scripts.
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11125187]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2021-04-14 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?