Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Newbie question

by Perlbotics (Archbishop)
on Oct 19, 2021 at 19:14 UTC ( [id://11137748]=note: print w/replies, xml ) Need Help??


in reply to Newbie question

1. Is there a way to encrypt a Perl file containing password? I need to import database credentials from a file and would like to know more about encrypting passwords

Since you mentioned Docker... If you need something that scales in a large environment, i.e. multiple nodes requiring credentials and that also works for unattended (re-)boots, have a look at HashiCorps Vault (client: i.e. WebService::HashiCorp::Vault, server: https://github.com/hashicorp/vault). There is still a secret to be kept (i.e. token), however, management of credentials becomes much more feasible at the cost of running a dedicated centralised (hopefully redundant) vault service.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-18 01:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found