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)


9821
9822
9823
9824
9825
9826
# File 'lib/aws-sdk-iot/types.rb', line 9821

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

#public_keyString

The public key.

Returns:

  • (String)


9821
9822
9823
9824
9825
9826
# File 'lib/aws-sdk-iot/types.rb', line 9821

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