Understand AWS Private CA CA modes
You can create a certificate authority (CA) in AWS Private CA in one of three modes: general-purpose, short-lived certificate, and service-affiliated. The mode affects the allowed validity period of the certificates that the CA issues. For a service-affiliated CA, the mode also determines which AWS service can issue certificates from the CA.
AWS Private CA does not perform validity checks on root CA certificates.
General-purpose (default)
This mode permits the CA to issue certificates with any validity period. Most applications use certificates of this type. Typically, the CA also specifies a revocation mechanism.
Short-lived certificate
This mode defines a CA that exclusively issues certificates with a maximum validity period of seven days. These short-lived certificates expire so quickly that they can be deployed without a revocation mechanism in place. For some applications, it makes more sense to frequently deploy short-lived certificates than to incur the network and processing overhead of revocation.
Short-lived certificates must be the last CA in the certificate hierarchy. There is significant overhead because the private CA must be renewed every seven days.
CAs with short-lived certificate mode cost less than general-purpose CAs. For more
information, see AWS Private Certificate Authority
Pricing
To create a CA that issues short-lived certificates, set the
UsageMode parameter to short-lived certificate using the create a CA procedure for creating a CA.
AWS Certificate Manager cannot issue certificates signed by a private CA with short-lived mode.
Use of short-lived certificates is supported by the following AWS services:
Service-affiliated
A service-affiliated CA is a private CA in your account that you affiliate with an AWS service. AWS issues end-entity certificates from the CA only for the resources that you associate with the CA in that service. The service affiliation sets the CA configuration that the service needs. You choose the service affiliation when you create the CA, and you can't change the mode or the service affiliation later.
To create a service-affiliated CA, set the UsageMode parameter to
SERVICE_AFFILIATED and specify the service in the
ServiceAffiliation parameter when you create the CA.
For more information, see Service-affiliated certificate authorities in AWS Private Certificate Authority,
and for an AWS CLI example, see Example 6: Create a service-affiliated CA for AWS IAM for agents and workloads.
For the service affiliations that AWS Private CA supports, see Available service affiliations.