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

Class: Aws::Lightsail::Types::CreateKeyPairResult

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#key_pairTypes::KeyPair

An array of key-value pairs containing information about the new key pair you just created.

Returns:



888
889
890
891
892
893
894
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 888

class CreateKeyPairResult < Struct.new(
  :key_pair,
  :public_key_base_64,
  :private_key_base_64,
  :operation)
  include Aws::Structure
end

#operationTypes::Operation

An array of key-value pairs containing information about the results of your create key pair request.

Returns:



888
889
890
891
892
893
894
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 888

class CreateKeyPairResult < Struct.new(
  :key_pair,
  :public_key_base_64,
  :private_key_base_64,
  :operation)
  include Aws::Structure
end

#private_key_base_64String

A base64-encoded RSA private key.

Returns:

  • (String)


888
889
890
891
892
893
894
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 888

class CreateKeyPairResult < Struct.new(
  :key_pair,
  :public_key_base_64,
  :private_key_base_64,
  :operation)
  include Aws::Structure
end

#public_key_base_64String

A base64-encoded public key of the ssh-rsa type.

Returns:

  • (String)


888
889
890
891
892
893
894
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 888

class CreateKeyPairResult < Struct.new(
  :key_pair,
  :public_key_base_64,
  :private_key_base_64,
  :operation)
  include Aws::Structure
end