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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-transfer/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)


3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 3345

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)


3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 3345

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)


3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 3345

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)


3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 3345

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)


3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 3345

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)


3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 3345

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:



3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 3345

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)


3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 3345

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