hi, i want to encrypt the password using transformations in etl process, is it possible, if it is what is the process for that
do you mean you have one field on each row with a password that you would like to encrypt?
If so, the first possibility I recommend is to use a "block" transform, because it's very quick to implement.
Imagine you have one field :plain_text_password. You could create an additional :encrypted_password column like this:
transform(:encrypted_password) do |n,v,r|
encrypt_password(r[:plain_text_password])
end
The value returned by the block will be injected into the :encrypted_password attribute.
Please note that this is not a security advice, just a demo of how to use the block transform.
If you need to go further, you could also create a custom transform (let me know if you need help on that) but I don't think that's necessary here.
hope this helps,
Thibaut
--