Skip to content

ACM ​

Parity grade: A · SDK aws-sdk-go-v2/service/acm@v1.50.4 · last audited 2026-10-10 (090ec574b)

Category: Security · View PARITY.md on GitHub · All Services

In-memory AWS Certificate Manager: request, import, export, renew and revoke certificates, plus ACME endpoints.

Quick start ​

bash
export AWS_ENDPOINT_URL=http://localhost:8000

aws acm request-certificate --domain-name api.example.com \
    --validation-method DNS --subject-alternative-names www.example.com
aws acm describe-certificate \
    --certificate-arn arn:aws:acm:us-east-1:000000000000:certificate/<cert-id>
aws acm import-certificate --certificate fileb://cert.pem \
    --private-key fileb://key.pem --certificate-chain fileb://chain.pem
aws acm get-certificate --certificate-arn <arn>
aws acm export-certificate --certificate-arn <arn> --passphrase dGVzdA==
aws acm add-tags-to-certificate --certificate-arn <arn> --tags Key=env,Value=dev

Supported operations ​

AreaOperations
CertificatesRequestCertificate, DescribeCertificate, ListCertificates, SearchCertificates, DeleteCertificate, ImportCertificate, GetCertificate, ExportCertificate, RenewCertificate, RevokeCertificate, UpdateCertificateOptions, ResendValidationEmail, ListCertificateDomainValidations
AccountGetAccountConfiguration, PutAccountConfiguration
TagsAddTagsToCertificate, RemoveTagsFromCertificate, ListTagsForCertificate, TagResource, UntagResource, ListTagsForResource
ACME endpointsCreate/Update/Delete/Describe/ListAcmeEndpoint(s)
ACME external account bindingsCreate/Delete/Describe/List/RevokeAcmeExternalAccountBinding, GetAcmeExternalAccountBindingCredentials
ACME accountsDescribeAcmeAccount, ListAcmeAccounts, RevokeAcmeAccount
ACME domain validationsCreate/Update/Delete/Describe/ListAcmeDomainValidation(s)

Behaviour ​

  • DNS and email validation: the certificate starts PENDING_VALIDATION. DescribeCertificate returns synthetic CNAME ResourceRecord entries, and about 100 ms later the certificate becomes ISSUED. This works with Terraform's aws_acm_certificate_validation and the SDK's CertificateValidatedWaiter.
  • Without a ValidationMethod the certificate is ISSUED immediately.
  • Generated certificates are self-signed ECDSA P-256 and are not trusted anywhere.
  • ExportCertificate works for IMPORTED and PRIVATE certificates. AMAZON_ISSUED ones need Options.Export=ENABLED.

Differences from AWS ​

NOTE

No DNS lookup, CA or ACME server exists. Validation settles on a timer, so FAILED and INACTIVE certificates and INVALID ACME domain validations never occur, and ACME accounts are never populated.

  • Private CAs (ACM PCA) are not part of this service.
  • TagPolicyException is never raised: there is no Organizations tag-policy engine.

Parity & Coverage ​

MetricValue
PARITY entries audited39 (37 ok, 2 partial)
Known gapsnone
Structural gaps (can't be emulated)4
Deferred items1
Resource leaksclean

Structural Gaps ​

These do not block an A grade — no implementation could produce real data here because the underlying data source cannot exist in an emulator.

  • TagPolicyException is unwired: no Organizations tag-policy engine exists to trigger it.
  • ACME accounts, AcmeAccountId/AcmeEndpointArn on certificates, and the matching SearchCertificates filter/sort members are never populated: no RFC 8555 ACME server exists.
  • AcmeDomainValidation INVALID status and FailureDetails never occur: validation settles to VALID on a timer because no DNS resolution is performed.
  • FailCertificate/InactivateCertificate have no callers: FAILED comes from CA/domain-policy decisions and INACTIVE from AWS-side action, neither of which exists here.

Deferred Items ​

  • A real ACME protocol front-end (RFC 8555 server) that would let AcmeAccount, and CertificateDetail's new AcmeAccountId/AcmeEndpointArn fields, actually get populated

Audited Operations ​

39 audited operations
OperationWireErrorsStatePersist
RequestCertificateokpartialokok
DescribeCertificateokokokok
ListCertificatesokokokok
ListCertificateDomainValidationsokokokok
DeleteCertificateokokokok
ImportCertificateokokokok
GetCertificateokokokok
ExportCertificateokokokok
AddTagsToCertificateokokokok
RemoveTagsFromCertificateokokokok
ListTagsForCertificateokokokok
RenewCertificateokokokok
RevokeCertificateokpartialokok
UpdateCertificateOptionsokokokok
ResendValidationEmailokokokok
GetAccountConfigurationokokokok
PutAccountConfigurationokokokok
SearchCertificatesokokokok
ListTagsForResourceokokokok
TagResourceokokokok
UntagResourceokokokok
CreateAcmeEndpointokokokok
DescribeAcmeEndpointokokokok
ListAcmeEndpointsokokokok
UpdateAcmeEndpointokokokok
DeleteAcmeEndpointokokokok
CreateAcmeExternalAccountBindingokokokok
DescribeAcmeExternalAccountBindingokokokok
ListAcmeExternalAccountBindingsokokokok
GetAcmeExternalAccountBindingCredentialsokokokok
RevokeAcmeExternalAccountBindingokokokok
DescribeAcmeAccountokokokok
ListAcmeAccountsokokokok
RevokeAcmeAccountokokokok
CreateAcmeDomainValidationokokokok
DescribeAcmeDomainValidationokokokok
ListAcmeDomainValidationsokokokok
UpdateAcmeDomainValidationokokokok
DeleteAcmeDomainValidationokokokok

Released under the MIT License.