Class: Aws::IoT::Types::KeyPair

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iot/types.rb

Overview

Describes a key pair.

Constant Summary collapse

SENSITIVE =
[:private_key]

Instance Attribute Summary collapse

Instance Attribute Details

#private_keyString

The private key.

Returns:

  • (String)


8939
8940
8941
8942
8943
8944
# File 'lib/aws-sdk-iot/types.rb', line 8939

class KeyPair < Struct.new(
  :public_key,
  :private_key)
  SENSITIVE = [:private_key]
  include Aws::Structure
end

#public_keyString

The public key.

Returns:

  • (String)


8939
8940
8941
8942
8943
8944
# File 'lib/aws-sdk-iot/types.rb', line 8939

class KeyPair < Struct.new(
  :public_key,
  :private_key)
  SENSITIVE = [:private_key]
  include Aws::Structure
end