Class CreateCertificateAuthorityAuditReportCommand
Creates an audit report that lists every time that your CA private key is used. The
report is saved in the Amazon S3 bucket that you specify on input. The IssueCertificate and RevokeCertificate actions use
the private key.
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.
Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption.
For more information, see Encrypting Your Audit
Reports.
You can generate a maximum of one report every 30 minutes.
example
Use a bare-bones client and the command you need to make an API call.
Creates an audit report that lists every time that your CA private key is used. The report is saved in the Amazon S3 bucket that you specify on input. The IssueCertificate and RevokeCertificate actions use the private key.
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.
Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption. For more information, see Encrypting Your Audit Reports.
You can generate a maximum of one report every 30 minutes.
Use a bare-bones client and the command you need to make an API call.
import { ACMPCAClient, CreateCertificateAuthorityAuditReportCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import // const { ACMPCAClient, CreateCertificateAuthorityAuditReportCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import const client = new ACMPCAClient(config); const command = new CreateCertificateAuthorityAuditReportCommand(input); const response = await client.send(command);
CreateCertificateAuthorityAuditReportCommandInput for command's
input
shape.CreateCertificateAuthorityAuditReportCommandOutput for command's
response
shape.config for ACMPCAClient's
config
shape.