AWSEC2KeyPair

Objective-C

@interface AWSEC2KeyPair

Swift

class AWSEC2KeyPair

Describes a key pair.

    • For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER encoded private key.

    • For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which is the default for OpenSSH, starting with OpenSSH 6.8.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable keyFingerprint;

    Swift

    var keyFingerprint: String? { get set }
  • An unencrypted PEM encoded RSA or ED25519 private key.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable keyMaterial;

    Swift

    var keyMaterial: String? { get set }
  • The name of the key pair.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable keyName;

    Swift

    var keyName: String? { get set }
  • The ID of the key pair.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable keyPairId;

    Swift

    var keyPairId: String? { get set }
  • Any tags applied to the key pair.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2Tag *> *_Nullable tags;

    Swift

    var tags: [AWSEC2Tag]? { get set }