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=devSupported operations
| Area | Operations |
|---|---|
| Certificates | RequestCertificate, DescribeCertificate, ListCertificates, SearchCertificates, DeleteCertificate, ImportCertificate, GetCertificate, ExportCertificate, RenewCertificate, RevokeCertificate, UpdateCertificateOptions, ResendValidationEmail, ListCertificateDomainValidations |
| Account | GetAccountConfiguration, PutAccountConfiguration |
| Tags | AddTagsToCertificate, RemoveTagsFromCertificate, ListTagsForCertificate, TagResource, UntagResource, ListTagsForResource |
| ACME endpoints | Create/Update/Delete/Describe/ListAcmeEndpoint(s) |
| ACME external account bindings | Create/Delete/Describe/List/RevokeAcmeExternalAccountBinding, GetAcmeExternalAccountBindingCredentials |
| ACME accounts | DescribeAcmeAccount, ListAcmeAccounts, RevokeAcmeAccount |
| ACME domain validations | Create/Update/Delete/Describe/ListAcmeDomainValidation(s) |
Behaviour
- DNS and email validation: the certificate starts
PENDING_VALIDATION.DescribeCertificatereturns synthetic CNAMEResourceRecordentries, and about 100 ms later the certificate becomesISSUED. This works with Terraform'saws_acm_certificate_validationand the SDK'sCertificateValidatedWaiter. - Without a
ValidationMethodthe certificate isISSUEDimmediately. - Generated certificates are self-signed ECDSA P-256 and are not trusted anywhere.
ExportCertificateworks forIMPORTEDandPRIVATEcertificates.AMAZON_ISSUEDones needOptions.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.
TagPolicyExceptionis never raised: there is no Organizations tag-policy engine.
Parity & Coverage
| Metric | Value |
|---|---|
| PARITY entries audited | 39 (37 ok, 2 partial) |
| Known gaps | none |
| Structural gaps (can't be emulated) | 4 |
| Deferred items | 1 |
| Resource leaks | clean |
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
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
RequestCertificate | ok | partial | ok | ok |
DescribeCertificate | ok | ok | ok | ok |
ListCertificates | ok | ok | ok | ok |
ListCertificateDomainValidations | ok | ok | ok | ok |
DeleteCertificate | ok | ok | ok | ok |
ImportCertificate | ok | ok | ok | ok |
GetCertificate | ok | ok | ok | ok |
ExportCertificate | ok | ok | ok | ok |
AddTagsToCertificate | ok | ok | ok | ok |
RemoveTagsFromCertificate | ok | ok | ok | ok |
ListTagsForCertificate | ok | ok | ok | ok |
RenewCertificate | ok | ok | ok | ok |
RevokeCertificate | ok | partial | ok | ok |
UpdateCertificateOptions | ok | ok | ok | ok |
ResendValidationEmail | ok | ok | ok | ok |
GetAccountConfiguration | ok | ok | ok | ok |
PutAccountConfiguration | ok | ok | ok | ok |
SearchCertificates | ok | ok | ok | ok |
ListTagsForResource | ok | ok | ok | ok |
TagResource | ok | ok | ok | ok |
UntagResource | ok | ok | ok | ok |
CreateAcmeEndpoint | ok | ok | ok | ok |
DescribeAcmeEndpoint | ok | ok | ok | ok |
ListAcmeEndpoints | ok | ok | ok | ok |
UpdateAcmeEndpoint | ok | ok | ok | ok |
DeleteAcmeEndpoint | ok | ok | ok | ok |
CreateAcmeExternalAccountBinding | ok | ok | ok | ok |
DescribeAcmeExternalAccountBinding | ok | ok | ok | ok |
ListAcmeExternalAccountBindings | ok | ok | ok | ok |
GetAcmeExternalAccountBindingCredentials | ok | ok | ok | ok |
RevokeAcmeExternalAccountBinding | ok | ok | ok | ok |
DescribeAcmeAccount | ok | ok | ok | ok |
ListAcmeAccounts | ok | ok | ok | ok |
RevokeAcmeAccount | ok | ok | ok | ok |
CreateAcmeDomainValidation | ok | ok | ok | ok |
DescribeAcmeDomainValidation | ok | ok | ok | ok |
ListAcmeDomainValidations | ok | ok | ok | ok |
UpdateAcmeDomainValidation | ok | ok | ok | ok |
DeleteAcmeDomainValidation | ok | ok | ok | ok |
