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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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 operations.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fingerprintString

The MD5 message digest of the SSH public key.

Returns:

  • (String)


9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
# File 'lib/aws-sdk-iam/types.rb', line 9179

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

#ssh_public_key_bodyString

The SSH public key.

Returns:

  • (String)


9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
# File 'lib/aws-sdk-iam/types.rb', line 9179

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

#ssh_public_key_idString

The unique identifier for the SSH public key.

Returns:

  • (String)


9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
# File 'lib/aws-sdk-iam/types.rb', line 9179

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

#statusString

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.

Returns:

  • (String)


9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
# File 'lib/aws-sdk-iam/types.rb', line 9179

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

#upload_dateTime

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

[1]: www.iso.org/iso/iso8601

Returns:

  • (Time)


9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
# File 'lib/aws-sdk-iam/types.rb', line 9179

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

#user_nameString

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

Returns:

  • (String)


9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
# File 'lib/aws-sdk-iam/types.rb', line 9179

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