I have created a Windows Instance on AWS through FOG gem, I get the password through:
connection.get_password_data(instance_id).body['passwordData']
This password is encrypted, base64-encoded password of the instance.
How to decode and decrypt this password.
As specified in AWS documentation that, the password is encrypted using the key pair that you specified when you launched the instance.
 
     
     but you can also do it thru the CLI if you have it installed:
but you can also do it thru the CLI if you have it installed: