Class: Aws::Transfer::Types::ImportCertificateRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Transfer::Types::ImportCertificateRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-transfer/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:certificate, :certificate_chain, :private_key]
Instance Attribute Summary collapse
-
#active_date ⇒ Time
An optional date that specifies when the certificate becomes active.
-
#certificate ⇒ String
-
For the CLI, provide a file path for a certificate in URI format.
-
-
#certificate_chain ⇒ String
An optional list of certificates that make up the chain for the certificate that’s being imported.
-
#description ⇒ String
A short description that helps identify the certificate.
-
#inactive_date ⇒ Time
An optional date that specifies when the certificate becomes inactive.
-
#private_key ⇒ String
-
For the CLI, provide a file path for a private key in URI format.
-
-
#tags ⇒ Array<Types::Tag>
Key-value pairs that can be used to group and search for certificates.
-
#usage ⇒ String
Specifies how this certificate is used.
Instance Attribute Details
#active_date ⇒ Time
An optional date that specifies when the certificate becomes active. If you do not specify a value, ActiveDate takes the same value as NotBeforeDate, which is specified by the CA.
4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 |
# File 'lib/aws-sdk-transfer/types.rb', line 4196 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 ⇒ String
-
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`” “.
<note markdown=“1”> You can provide both the certificate and its chain in this parameter, without needing to use the CertificateChain parameter. If you use this parameter for both the certificate and its chain, do not use the CertificateChain parameter.
</note>
4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 |
# File 'lib/aws-sdk-transfer/types.rb', line 4196 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_chain ⇒ String
An optional list of certificates that make up the chain for the certificate that’s being imported.
4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 |
# File 'lib/aws-sdk-transfer/types.rb', line 4196 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 |
#description ⇒ String
A short description that helps identify the certificate.
4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 |
# File 'lib/aws-sdk-transfer/types.rb', line 4196 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_date ⇒ Time
An optional date that specifies when the certificate becomes inactive. If you do not specify a value, InactiveDate takes the same value as NotAfterDate, which is specified by the CA.
4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 |
# File 'lib/aws-sdk-transfer/types.rb', line 4196 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_key ⇒ String
-
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`” “
4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 |
# File 'lib/aws-sdk-transfer/types.rb', line 4196 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 |
#tags ⇒ Array<Types::Tag>
Key-value pairs that can be used to group and search for certificates.
4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 |
# File 'lib/aws-sdk-transfer/types.rb', line 4196 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 |
#usage ⇒ String
Specifies how this certificate is used. It can be used in the following ways:
-
SIGNING: For signing AS2 messages -
ENCRYPTION: For encrypting AS2 messages -
TLS: For securing AS2 communications sent over HTTPS
4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 |
# File 'lib/aws-sdk-transfer/types.rb', line 4196 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 |