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
}

Constant Summary collapse

SENSITIVE =
[:passphrase]

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)


573
574
575
576
577
578
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 573

class ExportCertificateRequest < Struct.new(
  :certificate_arn,
  :passphrase)
  SENSITIVE = [: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)


573
574
575
576
577
578
# File 'gems/aws-sdk-acm/lib/aws-sdk-acm/types.rb', line 573

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