Class: Aws::STS::Types::GetCertificateResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::STS::Types::GetCertificateResponse
- Defined in:
- gems/aws-sdk-core/lib/aws-sdk-sts/types.rb
Overview
Contains the response to a successful GetCertificate request.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#certificate ⇒ String
The issued X.509 certificate (X509-SVID), PEM-encoded.
-
#certificate_chain ⇒ String
The PEM-encoded certificate chain that links the certificate to the root certificate authority (CA), in the same format that Amazon Web Services Private CA returns.
-
#not_after ⇒ Time
The date and time, in UTC, when the certificate expires.
-
#not_before ⇒ Time
The date and time, in UTC, when the certificate becomes valid.
-
#subject ⇒ String
The SPIFFE ID of the workload, for example
spiffe://example.org/payments/checkout.
Instance Attribute Details
#certificate ⇒ String
The issued X.509 certificate (X509-SVID), PEM-encoded. The certificate has an empty subject distinguished name (DN) and one URI subject alternative name (SAN) that contains the SPIFFE ID of the workload. You can use the certificate for both client and server authentication.
1408 1409 1410 1411 1412 1413 1414 1415 1416 |
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/types.rb', line 1408 class GetCertificateResponse < Struct.new( :certificate, :certificate_chain, :not_before, :not_after, :subject) SENSITIVE = [] include Aws::Structure end |
#certificate_chain ⇒ String
The PEM-encoded certificate chain that links the certificate to the root certificate authority (CA), in the same format that Amazon Web Services Private CA returns. The chain can include the root CA certificate. Don't use the chain as a source of trust anchors. To get the trust anchors for the provider, call GetTrustBundles.
1408 1409 1410 1411 1412 1413 1414 1415 1416 |
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/types.rb', line 1408 class GetCertificateResponse < Struct.new( :certificate, :certificate_chain, :not_before, :not_after, :subject) SENSITIVE = [] include Aws::Structure end |
#not_after ⇒ Time
The date and time, in UTC, when the certificate expires. This is
MaxDurationSeconds after Amazon Web Services STS issued the
certificate, or 12 hours if you didn't specify
MaxDurationSeconds.
1408 1409 1410 1411 1412 1413 1414 1415 1416 |
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/types.rb', line 1408 class GetCertificateResponse < Struct.new( :certificate, :certificate_chain, :not_before, :not_after, :subject) SENSITIVE = [] include Aws::Structure end |
#not_before ⇒ Time
The date and time, in UTC, when the certificate becomes valid. To allow for differences between clocks, Amazon Web Services STS sets this to five minutes before it issues the certificate.
1408 1409 1410 1411 1412 1413 1414 1415 1416 |
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/types.rb', line 1408 class GetCertificateResponse < Struct.new( :certificate, :certificate_chain, :not_before, :not_after, :subject) SENSITIVE = [] include Aws::Structure end |
#subject ⇒ String
The SPIFFE ID of the workload, for example
spiffe://example.org/payments/checkout. This is the same value as
the URI subject alternative name (SAN) of the certificate, and comes
from the calling session.
1408 1409 1410 1411 1412 1413 1414 1415 1416 |
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/types.rb', line 1408 class GetCertificateResponse < Struct.new( :certificate, :certificate_chain, :not_before, :not_after, :subject) SENSITIVE = [] include Aws::Structure end |