Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetCertificateCommand

Retrieves a certificate from your private CA or one that has been shared with you. The ARN of the certificate is returned when you call the IssueCertificate action. You must specify both the ARN of your private CA and the ARN of the issued certificate when calling the GetCertificate action. You can retrieve the certificate if it is in the ISSUED state. You can call the CreateCertificateAuthorityAuditReport action to create a report that contains information about all of the certificates issued and revoked by your private CA.

example

Use a bare-bones client and the command you need to make an API call.

import { ACMPCAClient, GetCertificateCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
// const { ACMPCAClient, GetCertificateCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
const client = new ACMPCAClient(config);
const command = new GetCertificateCommand(input);
const response = await client.send(command);
see

GetCertificateCommandInput for command's input shape.

see

GetCertificateCommandOutput for command's response shape.

see

config for ACMPCAClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: GetCertificateCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<GetCertificateCommandInput, GetCertificateCommandOutput>