Skip to content

Get Certificate

acm_get_certificate R Documentation

Retrieves a certificate and its certificate chain

Description

Retrieves a certificate and its certificate chain. The certificate may be either a public or private certificate issued using the ACM request_certificate action, or a certificate imported into ACM using the import_certificate action. The chain consists of the certificate of the issuing CA and the intermediate certificates of any other subordinate CAs. All of the certificates are base64 encoded. You can use OpenSSL to decode the certificates and inspect individual fields.

Usage

acm_get_certificate(CertificateArn)

Arguments

CertificateArn

[required] String that contains a certificate ARN in the following format:

arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

For more information about ARNs, see Amazon Resource Names (ARNs).

Value

A list with the following syntax:

list(
  Certificate = "string",
  CertificateChain = "string"
)

Request syntax

svc$get_certificate(
  CertificateArn = "string"
)