Skip to content

IAM  >  Structures  >  SSHPublicKey

SSHPublicKey

Structure Class

SSHPublicKey dataclass

Bases: _SerdeShape

Contains information about an SSH public key.

This data type is used as a response element in the GetSSHPublicKey and UploadSSHPublicKey operations.

Attributes

fingerprint instance-attribute
fingerprint: str

The MD5 message digest of the SSH public key.

ssh_public_key_body instance-attribute
ssh_public_key_body: str

The SSH public key.

ssh_public_key_id instance-attribute
ssh_public_key_id: str

The unique identifier for the SSH public key.

status instance-attribute
status: str

The status of the SSH public key. Active means that the key can be used for authentication with an CodeCommit repository. Inactive means that the key cannot be used.

upload_date class-attribute instance-attribute
upload_date: datetime | None = ...

The date and time, in ISO 8601 date-time format, when the SSH public key was uploaded.

user_name instance-attribute
user_name: str

The name of the IAM user associated with the SSH public key.