EC2.Instance.
key_name
(string) --
The name of the key pair, if this instance was launched with an associated key pair.