Class: Aws::STS::Types::GetCertificateRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::STS::Types::GetCertificateRequest
- Defined in:
- gems/aws-sdk-core/lib/aws-sdk-sts/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#certificate_signing_request ⇒ String
A PEM-encoded PKCS #10 certificate signing request (CSR) that contains the public key for the certificate.
-
#max_duration_seconds ⇒ Integer
The time, in seconds, that the certificate is valid.
Instance Attribute Details
#certificate_signing_request ⇒ String
A PEM-encoded PKCS #10 certificate signing request (CSR) that contains the public key for the certificate. The CSR must be signed with the matching private key.
Amazon Web Services STS uses only the public key from the CSR. Amazon Web Services STS ignores the subject, subject alternative names (SANs), and requested extensions in the CSR. The signing algorithm of the certificate is set by the signer of the workload identity provider, not by the CSR.
The CSR can be up to 32,768 characters long. If the CSR is blank,
can't be parsed, has a signature that doesn't verify, or uses a
key type or key size that the signer doesn't support, the request
fails with MalformedCertificateSigningRequestException.
1361 1362 1363 1364 1365 1366 |
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/types.rb', line 1361 class GetCertificateRequest < Struct.new( :certificate_signing_request, :max_duration_seconds) SENSITIVE = [] include Aws::Structure end |
#max_duration_seconds ⇒ Integer
The time, in seconds, that the certificate is valid. The value can range from 3,600 seconds (1 hour) to 43,200 seconds (12 hours). If you don't specify a value, the certificate is valid for 43,200 seconds (12 hours).
The expiration of the calling session doesn't limit this value. The
certificate can remain valid after the session that requested it
expires. This differs from GetWebIdentityToken, which rejects a
token duration that ends after the calling session expires.
1361 1362 1363 1364 1365 1366 |
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/types.rb', line 1361 class GetCertificateRequest < Struct.new( :certificate_signing_request, :max_duration_seconds) SENSITIVE = [] include Aws::Structure end |