I might have found the answer? I can't tell. In
jclouds 
<https://github.com/jclouds/jclouds/tree/c6986efda62de0730106d42e23da25972feece33>/apis
<https://github.com/jclouds/jclouds/tree/c6986efda62de0730106d42e23da25972feece33/apis>/ec2
<https://github.com/jclouds/jclouds/tree/c6986efda62de0730106d42e23da25972feece33/apis/ec2>/src
<https://github.com/jclouds/jclouds/tree/c6986efda62de0730106d42e23da25972feece33/apis/ec2/src>/main
<https://github.com/jclouds/jclouds/tree/c6986efda62de0730106d42e23da25972feece33/apis/ec2/src/main>/java
<https://github.com/jclouds/jclouds/tree/c6986efda62de0730106d42e23da25972feece33/apis/ec2/src/main/java>/org
<https://github.com/jclouds/jclouds/tree/c6986efda62de0730106d42e23da25972feece33/apis/ec2/src/main/java/org>/jclouds
<https://github.com/jclouds/jclouds/tree/c6986efda62de0730106d42e23da25972feece33/apis/ec2/src/main/java/org/jclouds>/ec2
<https://github.com/jclouds/jclouds/tree/c6986efda62de0730106d42e23da25972feece33/apis/ec2/src/main/java/org/jclouds/ec2>/compute
<https://github.com/jclouds/jclouds/tree/c6986efda62de0730106d42e23da25972feece33/apis/ec2/src/main/java/org/jclouds/ec2/compute>/functions
<https://github.com/jclouds/jclouds/tree/c6986efda62de0730106d42e23da25972feece33/apis/ec2/src/main/java/org/jclouds/ec2/compute/functions>/*CreateUniqueKeyPair.java*
I found the line, which looks like jclouds doesn't generate it's own
keys, instead relying on EC2API:
keyPair = ec2Api.getKeyPairApi().get().createKeyPairInRegion(region, keyName);



On Wed, Jul 31, 2013 at 12:37 PM, Johanna Jones
<johanna.jone...@gmail.com>wrote:

> Thanks for that link! So the key pair it creates for each VM will be the
> same since my own ssh key is unchanging? Amazon is reporting each key pair
> has it's own fingerprint to me.
>
> So where is the code to generate the key, in the otherwise case? The
> closest I found was a link in the docs to
> http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-Create
> *Key*Pair.html, suggesting that Amazon's API is used.
>
>
> On Wed, Jul 31, 2013 at 12:16 PM, Andrew Phillips <andr...@apache.org>wrote:
>
>> So to start out does jclouds generates a key or it use amazon's API to
>>> create one? Then it uses that key just once to authorize myself, and from
>>> then on I just use my personal user and ssh key that was authorized?
>>>
>>
>> Most of this should be described in the Javadocs for AdminAccess [1].
>> Does that make things any clearer?
>>
>> As regards your key question: jclouds will create a key pair in EC2
>> using, if it can load them, your keys. Otherwise, it will *generate* a key
>> pair.
>>
>> ap
>>
>> [1] http://javadocs.jclouds.**cloudbees.net/org/jclouds/**
>> scriptbuilder/statements/**login/AdminAccess.html<http://javadocs.jclouds.cloudbees.net/org/jclouds/scriptbuilder/statements/login/AdminAccess.html>
>>
>
>

Reply via email to