AWS ACM PCA Certificate
This page shows how to write Terraform and CloudFormation for ACM PCA Certificate and write them securely.
aws_acmpca_certificate (Terraform)
The Certificate in ACM PCA can be configured in Terraform with the resource name aws_acmpca_certificate
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
-
arn
optional computed - string -
certificate
optional computed - string -
certificate_authority_arn
required - string -
certificate_chain
optional computed - string -
certificate_signing_request
required - string -
id
optional computed - string -
signing_algorithm
required - string -
template_arn
optional - string -
validity
list block
Explanation in Terraform Registry
Provides a resource to issue a certificate using AWS Certificate Manager Private Certificate Authority (ACM PCA).
AWS::ACMPCA::Certificate (CloudFormation)
The Certificate in ACMPCA can be configured in CloudFormation with the resource name AWS::ACMPCA::Certificate
. The following sections describe 10 examples of how to use the resource and its parameters.
Example Usage from GitHub
Type: AWS::ACMPCA::CertificateAuthority
Properties:
Type: ROOT
KeyAlgorithm: RSA_2048
SigningAlgorithm: SHA256WITHRSA
Subject:
Type: AWS::ACMPCA::CertificateAuthority
Properties:
Type: ROOT
KeyAlgorithm: RSA_2048
SigningAlgorithm: SHA256WITHRSA
Subject:
Type: 'AWS::ACMPCA::CertificateAuthority'
Properties:
Type: ROOT
KeyAlgorithm: RSA_2048
SigningAlgorithm: SHA256WITHRSA
Subject:
Type: AWS::ACMPCA::CertificateAuthority
Properties:
Type: ROOT
KeyAlgorithm: RSA_2048
SigningAlgorithm: SHA256WITHRSA
Subject:
Type: AWS::ACMPCA::CertificateAuthority
Properties:
Type: ROOT
KeyAlgorithm: RSA_2048
SigningAlgorithm: SHA256WITHRSA
Subject:
"Type": "AWS::ACMPCA::CertificateAuthority",
"Properties": {
"KeyAlgorithm": "RSA_2048",
"RevocationConfiguration": {
"CrlConfiguration": {
"Enabled": false
"resourceType": "AWS::ACMPCA::CertificateAuthority",
"filePath": null
},
{
"resourceType": "AWS::ACMPCA::CertificateAuthorityActivation",
"filePath": null
"AWS::ACMPCA::Certificate.Validity": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-validity.html",
"Properties": {
"Value": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-validity.html#cfn-acmpca-certificate-validity-value",
"UpdateType": "Immutable",
"AWS::ACMPCA::CertificateAuthority.Subject": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-subject.html",
"Properties": {
"Country": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-subject.html#cfn-acmpca-certificateauthority-subject-country",
"UpdateType": "Immutable",
"AWS::ACMPCA::CertificateAuthorityActivation": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificateauthorityactivation.html",
"Properties": {
"CertificateAuthorityArn": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificateauthorityactivation.html#cfn-acmpca-certificateauthorityactivation-certificateauthorityarn",
"UpdateType": "Immutable",
Parameters
-
ApiPassthrough
optional - ApiPassthrough -
CertificateAuthorityArn
required - String -
CertificateSigningRequest
required - String -
SigningAlgorithm
required - String -
TemplateArn
optional - String -
Validity
required - Validity -
ValidityNotBefore
optional - Validity
Explanation in CloudFormation Registry
The
AWS::ACMPCA::Certificate
resource is used to issue a certificate using your private certificate authority. For more information, see the IssueCertificate action.
Frequently asked questions
What is AWS ACM PCA Certificate?
AWS ACM PCA Certificate is a resource for ACM PCA of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.
Where can I find the example code for the AWS ACM PCA Certificate?
For CloudFormation, the saaish/AppMesh, awsandy/ecs-workshop and gmcorral/acm-tools source code examples are useful. See the CloudFormation Example section for further details.