Class: Aws::Transfer::Types::ImportCertificateRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:certificate, :certificate_chain, :private_key]

Instance Attribute Summary collapse

Instance Attribute Details

#active_dateTime

An optional date that specifies when the certificate becomes active.

Returns:

  • (Time)


2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
# File 'lib/aws-sdk-transfer/types.rb', line 2933

class ImportCertificateRequest < Struct.new(
  :usage,
  :certificate,
  :certificate_chain,
  :private_key,
  :active_date,
  :inactive_date,
  :description,
  :tags)
  SENSITIVE = [:certificate, :certificate_chain, :private_key]
  include Aws::Structure
end

#certificateString

  • For the CLI, provide a file path for a certificate in URI format. For example, ‘–certificate file://encryption-cert.pem`. Alternatively, you can provide the raw content.

  • For the SDK, specify the raw content of a certificate file. For example, “ –certificate “‘cat encryption-cert.pem`” “.

Returns:

  • (String)


2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
# File 'lib/aws-sdk-transfer/types.rb', line 2933

class ImportCertificateRequest < Struct.new(
  :usage,
  :certificate,
  :certificate_chain,
  :private_key,
  :active_date,
  :inactive_date,
  :description,
  :tags)
  SENSITIVE = [:certificate, :certificate_chain, :private_key]
  include Aws::Structure
end

#certificate_chainString

An optional list of certificates that make up the chain for the certificate that’s being imported.

Returns:

  • (String)


2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
# File 'lib/aws-sdk-transfer/types.rb', line 2933

class ImportCertificateRequest < Struct.new(
  :usage,
  :certificate,
  :certificate_chain,
  :private_key,
  :active_date,
  :inactive_date,
  :description,
  :tags)
  SENSITIVE = [:certificate, :certificate_chain, :private_key]
  include Aws::Structure
end

#descriptionString

A short description that helps identify the certificate.

Returns:

  • (String)


2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
# File 'lib/aws-sdk-transfer/types.rb', line 2933

class ImportCertificateRequest < Struct.new(
  :usage,
  :certificate,
  :certificate_chain,
  :private_key,
  :active_date,
  :inactive_date,
  :description,
  :tags)
  SENSITIVE = [:certificate, :certificate_chain, :private_key]
  include Aws::Structure
end

#inactive_dateTime

An optional date that specifies when the certificate becomes inactive.

Returns:

  • (Time)


2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
# File 'lib/aws-sdk-transfer/types.rb', line 2933

class ImportCertificateRequest < Struct.new(
  :usage,
  :certificate,
  :certificate_chain,
  :private_key,
  :active_date,
  :inactive_date,
  :description,
  :tags)
  SENSITIVE = [:certificate, :certificate_chain, :private_key]
  include Aws::Structure
end

#private_keyString

  • For the CLI, provide a file path for a private key in URI format.For example, ‘–private-key file://encryption-key.pem`. Alternatively, you can provide the raw content of the private key file.

  • For the SDK, specify the raw content of a private key file. For example, “ –private-key “‘cat encryption-key.pem`” “

Returns:

  • (String)


2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
# File 'lib/aws-sdk-transfer/types.rb', line 2933

class ImportCertificateRequest < Struct.new(
  :usage,
  :certificate,
  :certificate_chain,
  :private_key,
  :active_date,
  :inactive_date,
  :description,
  :tags)
  SENSITIVE = [:certificate, :certificate_chain, :private_key]
  include Aws::Structure
end

#tagsArray<Types::Tag>

Key-value pairs that can be used to group and search for certificates.

Returns:



2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
# File 'lib/aws-sdk-transfer/types.rb', line 2933

class ImportCertificateRequest < Struct.new(
  :usage,
  :certificate,
  :certificate_chain,
  :private_key,
  :active_date,
  :inactive_date,
  :description,
  :tags)
  SENSITIVE = [:certificate, :certificate_chain, :private_key]
  include Aws::Structure
end

#usageString

Specifies whether this certificate is used for signing or encryption.

Returns:

  • (String)


2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
# File 'lib/aws-sdk-transfer/types.rb', line 2933

class ImportCertificateRequest < Struct.new(
  :usage,
  :certificate,
  :certificate_chain,
  :private_key,
  :active_date,
  :inactive_date,
  :description,
  :tags)
  SENSITIVE = [:certificate, :certificate_chain, :private_key]
  include Aws::Structure
end