rclone already has the ability to reveal the obscured password. See Get Password and Salt From Config