:doc:`Instance <index>` / Reference / key_pair

********
key_pair
********



.. py:attribute:: EC2.Instance.key_pair

  (:py:class:`KeyPairInfo`) The related key_pair if set, otherwise ``None``.