account to use it to encrypt new windows password rather than generating
new keypair for encryption?

You should be able to get a TemplateOptions object from the ComputeService. Since your underlying API is EC2, you can cast this to an EC2TemplateOptions instance (computeService.templateOptions().as(EC2TemplateOptions.class)) as then specify the desired key pair [1].

Regards

ap

[1] http://javadocs.jclouds.cloudbees.net/org/jclouds/ec2/compute/options/EC2TemplateOptions.html#keyPair(java.lang.String)

Reply via email to