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

Class: Aws::ACM::Types::ExportCertificateRequest

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

Overview

Note:

When making an API call, you may pass ExportCertificateRequest data as a hash:

{
  certificate_arn: "Arn", # required
  passphrase: "data", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#certificate_arnString

An Amazon Resource Name (ARN) of the issued certificate. This must be of the form:

arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012

Returns:

  • (String)


502
503
504
505
506
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 502

class ExportCertificateRequest < Struct.new(
  :certificate_arn,
  :passphrase)
  include Aws::Structure
end

#passphraseString

Passphrase to associate with the encrypted exported private key. If you want to later decrypt the private key, you must have the passphrase. You can use the following OpenSSL command to decrypt a private key:

openssl rsa -in encrypted_key.pem -out decrypted_key.pem

Returns:

  • (String)


502
503
504
505
506
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 502

class ExportCertificateRequest < Struct.new(
  :certificate_arn,
  :passphrase)
  include Aws::Structure
end