AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::Transfer::Types::SshPublicKey

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

Overview

Provides information about the public Secure Shell (SSH) key that is associated with a user account for the specific file transfer protocol-enabled server (as identified by ServerId). The information returned includes the date the key was imported, the public key contents, and the public key ID. A user can store more than one SSH public key associated with their user name on a specific server.

Instance Attribute Summary collapse

Instance Attribute Details

#date_importedTime

Specifies the date that the public key was added to the user account.

Returns:

  • (Time)

    Specifies the date that the public key was added to the user account.

#ssh_public_key_bodyString

Specifies the content of the SSH public key as specified by the PublicKeyId.

Returns:

  • (String)

    Specifies the content of the SSH public key as specified by the PublicKeyId.

#ssh_public_key_idString

Specifies the SshPublicKeyId parameter contains the identifier of the public key.

Returns:

  • (String)

    Specifies the SshPublicKeyId parameter contains the identifier of the public key.