Generate encrypted passwords manually

Options
DrissiReda
DrissiReda Registered Posts: 57 ✭✭✭✭✭

I'm trying to set up automatic configuration in my dataiku instance. I can do that through overwriting the files in "dss_dir/config".

One issue I'm currently having is how to generate encrypted passwords, for example in the connections file we have:

This is "password"

e:AES:X2:H6n1ldTXlVeLUBMqrPi1anV6EoHQV1zicSRYWXASLpTQcWzg1fk+SXmpoHDt2IYdokuw7eWKeas=

What algorithm/binary can I use to generate this? Ideally I'd like to do it in python because it's what dss uses.

For users.json for example it would be a different one:

This is "password"

pbkdf2:10000:3795535011a99f7e:93e384bcd6b3fd1c752b7e907dea542add43774f05ef718045a52e75834250e6e5d032d099dffa507b103ce53b6f427afe509b705c01d15714b0bf943b8b1500

Best Answer

Answers

Setup Info
    Tags
      Help me…