Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data KeyPairInfo = KeyPairInfo' {}
- newKeyPairInfo :: KeyPairInfo
- keyPairInfo_createTime :: Lens' KeyPairInfo (Maybe UTCTime)
- keyPairInfo_keyFingerprint :: Lens' KeyPairInfo (Maybe Text)
- keyPairInfo_keyName :: Lens' KeyPairInfo (Maybe Text)
- keyPairInfo_keyPairId :: Lens' KeyPairInfo (Maybe Text)
- keyPairInfo_keyType :: Lens' KeyPairInfo (Maybe KeyType)
- keyPairInfo_publicKey :: Lens' KeyPairInfo (Maybe Text)
- keyPairInfo_tags :: Lens' KeyPairInfo (Maybe [Tag])
Documentation
data KeyPairInfo Source #
Describes a key pair.
See: newKeyPairInfo
smart constructor.
KeyPairInfo' | |
|
Instances
newKeyPairInfo :: KeyPairInfo Source #
Create a value of KeyPairInfo
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:createTime:KeyPairInfo'
, keyPairInfo_createTime
- If you used Amazon EC2 to create the key pair, this is the date and time
when the key was created, in
ISO 8601 date-time format,
in the UTC time zone.
If you imported an existing key pair to Amazon EC2, this is the date and time the key was imported, in ISO 8601 date-time format, in the UTC time zone.
$sel:keyFingerprint:KeyPairInfo'
, keyPairInfo_keyFingerprint
- If you used CreateKeyPair to create the 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.
If you used ImportKeyPair to provide Amazon Web Services the public key:
- For RSA key pairs, the key fingerprint is the MD5 public key fingerprint as specified in section 4 of RFC4716.
- 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.
$sel:keyName:KeyPairInfo'
, keyPairInfo_keyName
- The name of the key pair.
$sel:keyPairId:KeyPairInfo'
, keyPairInfo_keyPairId
- The ID of the key pair.
$sel:keyType:KeyPairInfo'
, keyPairInfo_keyType
- The type of key pair.
$sel:publicKey:KeyPairInfo'
, keyPairInfo_publicKey
- The public key material.
$sel:tags:KeyPairInfo'
, keyPairInfo_tags
- Any tags applied to the key pair.
keyPairInfo_createTime :: Lens' KeyPairInfo (Maybe UTCTime) Source #
If you used Amazon EC2 to create the key pair, this is the date and time when the key was created, in ISO 8601 date-time format, in the UTC time zone.
If you imported an existing key pair to Amazon EC2, this is the date and time the key was imported, in ISO 8601 date-time format, in the UTC time zone.
keyPairInfo_keyFingerprint :: Lens' KeyPairInfo (Maybe Text) Source #
If you used CreateKeyPair to create the 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.
If you used ImportKeyPair to provide Amazon Web Services the public key:
- For RSA key pairs, the key fingerprint is the MD5 public key fingerprint as specified in section 4 of RFC4716.
- 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.
keyPairInfo_keyName :: Lens' KeyPairInfo (Maybe Text) Source #
The name of the key pair.
keyPairInfo_keyPairId :: Lens' KeyPairInfo (Maybe Text) Source #
The ID of the key pair.
keyPairInfo_keyType :: Lens' KeyPairInfo (Maybe KeyType) Source #
The type of key pair.
keyPairInfo_publicKey :: Lens' KeyPairInfo (Maybe Text) Source #
The public key material.
keyPairInfo_tags :: Lens' KeyPairInfo (Maybe [Tag]) Source #
Any tags applied to the key pair.