Options
All
  • Public
  • Public/Protected
  • All
Menu

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.

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);
see

CreateCertificateAuthorityAuditReportCommandInput for command's input shape.

see

CreateCertificateAuthorityAuditReportCommandOutput for command's response shape.

see

config for ACMPCAClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateCertificateAuthorityAuditReportCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions

  • Returns EndpointParameterInstructions