You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IAM::Types::SSHPublicKeyMetadata

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#ssh_public_key_id ⇒ String

The unique identifier for the SSH public key.

Returns:

  • (String) —

    The unique identifier for the SSH public key.

#status ⇒ String

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

Possible values:

  • Active
  • Inactive

Returns:

  • (String) —

    The status of the SSH public key.

#upload_date ⇒ Time

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

Returns:

  • (Time) —

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

#user_name ⇒ String

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

Returns:

  • (String) —

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