Update Certificate Authority
acmpca_update_certificate_authority | R Documentation |
Updates the status or configuration of a private certificate authority (CA)¶
Description¶
Updates the status or configuration of a private certificate authority
(CA). Your private CA must be in the ACTIVE
or DISABLED
state before
you can update it. You can disable a private CA that is in the ACTIVE
state or make a CA that is in the DISABLED
state active again.
Both Amazon Web Services Private CA and the IAM principal must have permission to write to the S3 bucket that you specify. If the IAM principal making the call does not have permission to write to the bucket, then an exception is thrown. For more information, see Access policies for CRLs in Amazon S3.
Usage¶
acmpca_update_certificate_authority(CertificateAuthorityArn,
RevocationConfiguration, Status)
Arguments¶
CertificateAuthorityArn |
[required] Amazon Resource Name (ARN) of the private CA that issued the certificate to be revoked. This must be of the form:
|
RevocationConfiguration |
Contains information to enable support for Online Certificate Status Protocol (OCSP), certificate revocation list (CRL), both protocols, or neither. If you don't supply this parameter, existing capibilites remain unchanged. For more information, see the OcspConfiguration and CrlConfiguration types. The following requirements apply to revocation configurations.
If you update the |
Status |
Status of your private CA. |
Value¶
An empty list.
Request syntax¶
svc$update_certificate_authority(
CertificateAuthorityArn = "string",
RevocationConfiguration = list(
CrlConfiguration = list(
Enabled = TRUE|FALSE,
ExpirationInDays = 123,
CustomCname = "string",
S3BucketName = "string",
S3ObjectAcl = "PUBLIC_READ"|"BUCKET_OWNER_FULL_CONTROL",
CrlDistributionPointExtensionConfiguration = list(
OmitExtension = TRUE|FALSE
),
CrlType = "COMPLETE"|"PARTITIONED",
CustomPath = "string"
),
OcspConfiguration = list(
Enabled = TRUE|FALSE,
OcspCustomCname = "string"
)
),
Status = "CREATING"|"PENDING_CERTIFICATE"|"ACTIVE"|"DELETED"|"DISABLED"|"EXPIRED"|"FAILED"
)