Class | AWS::EC2::KeyPair |
In: |
lib/aws/ec2/key_pair.rb
|
Parent: | Resource |
Represents an EC2 key pair. @attr_reader [String] fingerprint A SHA-1 digest of the DER encoded
private key
name | [R] | @return [String] The name of the key pair. |
Returns the private key. Raises an exception if called against an existing key. You can only get the private key at the time of creation.
@see KeyPairCollection#import @note Only call this method on newly created keys. @return [String] An unencrypted PEM encoded RSA private key.