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

Class: Aws::IAM::Types::SSHPublicKey

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb

Overview

Contains information about an SSH public key.

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

Instance Attribute Summary collapse

Instance Attribute Details

#fingerprintString

The MD5 message digest of the SSH public key.

Returns:

  • (String)


6931
6932
6933
6934
6935
6936
6937
6938
6939
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6931

class SSHPublicKey < Struct.new(
  :user_name,
  :ssh_public_key_id,
  :fingerprint,
  :ssh_public_key_body,
  :status,
  :upload_date)
  include Aws::Structure
end

#ssh_public_key_bodyString

The SSH public key.

Returns:

  • (String)


6931
6932
6933
6934
6935
6936
6937
6938
6939
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6931

class SSHPublicKey < Struct.new(
  :user_name,
  :ssh_public_key_id,
  :fingerprint,
  :ssh_public_key_body,
  :status,
  :upload_date)
  include Aws::Structure
end

#ssh_public_key_idString

The unique identifier for the SSH public key.

Returns:

  • (String)


6931
6932
6933
6934
6935
6936
6937
6938
6939
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6931

class SSHPublicKey < Struct.new(
  :user_name,
  :ssh_public_key_id,
  :fingerprint,
  :ssh_public_key_body,
  :status,
  :upload_date)
  include Aws::Structure
end

#statusString

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

Returns:

  • (String)


6931
6932
6933
6934
6935
6936
6937
6938
6939
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6931

class SSHPublicKey < Struct.new(
  :user_name,
  :ssh_public_key_id,
  :fingerprint,
  :ssh_public_key_body,
  :status,
  :upload_date)
  include Aws::Structure
end

#upload_dateTime

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

Returns:

  • (Time)


6931
6932
6933
6934
6935
6936
6937
6938
6939
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6931

class SSHPublicKey < Struct.new(
  :user_name,
  :ssh_public_key_id,
  :fingerprint,
  :ssh_public_key_body,
  :status,
  :upload_date)
  include Aws::Structure
end

#user_nameString

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

Returns:

  • (String)


6931
6932
6933
6934
6935
6936
6937
6938
6939
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6931

class SSHPublicKey < Struct.new(
  :user_name,
  :ssh_public_key_id,
  :fingerprint,
  :ssh_public_key_body,
  :status,
  :upload_date)
  include Aws::Structure
end