Skip to content

IAM  >  Structures  >  SSHPublicKeyMetadata

SSHPublicKeyMetadata

Structure Class

SSHPublicKeyMetadata dataclass

Bases: _SerdeShape

Contains information about an SSH public key, without the key's body or fingerprint.

This data type is used as a response element in the ListSSHPublicKeys operation.

Attributes

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 instance-attribute
upload_date: datetime

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.