|
When Amazon spins up a Windows instance, it automatically sets the Administrator password to a per-instance strong password.
This password is available to downstream management software like Jenkins, by encrypting that password with the public key of the EC2 user (such that it can be decrypted by the private key). The `ec2-get-password` command in the EC2 CLI does this, as does the Java code here: http://frontier.town/2012/03/java-administrator-password-windows-ec2-instance/
ec2-plugin does not support this mechanism. Instead, the expectation is that you change the Administrator password to a known shared secret in the AMI's userdata, and hardcode that same shared secret in the "Windows Admin Password" field. This password is then identical for all instances of the same AMI, rather than being per-instance.
Sending the same password over and over via plain HTTP (the default for this plugin) is questionable security practice.
|