Skip to main content

AWS Certificate Manager ExecModule

Overview​

AwsCertificateManagerModule helps platform and security teams turn certificate posture into practical follow-up work. Discover certificates in one AWS account and region, inspect a certificate's validity and renewal state, and read ownership tags so an expiring or unvalidated certificate can reach the right team.

The connector is read-only. It exposes three focused jobs: list_certificates, describe_certificate, and list_tags. It does not request, import, renew, delete, export, or modify certificates. Certificate bodies, chains, private keys, and PEM material are outside its output contract.

A certificate inventory is a useful input to an expiry review or ownership check, but it is not an end-to-end TLS health check. A workflow must apply its own dates, ownership rules, and escalation policy; the connector does not test a deployed site's handshake or guarantee that a certificate will renew.

Usage​

  1. Create an AWS identity with the ACM read permissions the workflow needs.
  2. Store its access key ID and protected secret access key in a ValkyrAI IntegrationAccount. Verify it and keep its status READY.
  3. Add AWS Certificate Manager in Workflow Studio, then choose the account through General > Connection. The built-in connection control owns the binding; do not add an integrationAccount input parameter.
  4. Select an AWS region and one supported operation. For detail and tag reads, use an exact certificate ARN for that region.
  5. Route the normalized result to a validation, report, ticket, or approval step. Keep any later remediation in a separately authorized workflow.

ACM is regional. Repeat the step for each required account and region instead of treating one response as an organization-wide inventory.

Inputs​

InputTypeRequiredDefaultDescription
operationstringYes—list_certificates, describe_certificate, or list_tags.
regionstringYes—Explicit AWS region, such as us-west-2.
certificateArnstringDetail and tags—Exact ACM certificate ARN whose region and partition match the selected region.
limitintegerInventory100Total certificate result bound, from 1 to 1,000.
returnAllbooleanInventoryfalseFollow provider pages until exhaustion or the total limit.
nextTokenstringNo—Opaque inventory continuation token, at most 10,000 characters.
certificateStatusesstring arrayNoAll statusesA non-empty array of up to seven distinct supported ACM status values; inventory only.
keyTypesstring arrayNoAll seven supported key typesA non-empty array of distinct supported key types; inventory only.

Supported status values are PENDING_VALIDATION, ISSUED, INACTIVE, EXPIRED, VALIDATION_TIMED_OUT, REVOKED, and FAILED. Supported key types are RSA_1024, RSA_2048, RSA_3072, RSA_4096, EC_prime256v1, EC_secp384r1, and EC_secp521r1.

The module accepts a bounded map through the canonical ExecModule ABI. Required fields and operation-specific filters are validated before a provider request. A list-only option is invalid on a detail or tag read. Unsupported operations, unknown input fields, caller-supplied credentials, and endpoint overrides are rejected.

Outputs​

Every result is a normalized map rather than a raw AWS SDK response.

OutputDescription
statussuccess or error.
operationSelected operation name.
attemptsProvider calls, including inventory pages and retries.
resultTypecertificates, certificate, or tags.
items / countBounded certificate summaries or tag key/value pairs.
pages / hasMore / nextTokenInventory pagination state; a token is included when continuation is available.
dataOne normalized certificate-detail result.
requestIdAWS request identifier when safely available.
errorStable code, redacted message, HTTP status, and retryability.

Certificate summaries include identifiers, domain name, status, type, key algorithm, available lifecycle dates, renewal eligibility, in-use state, and bounded alternate domain names. Detail adds signature algorithm, issuer, available failure or revocation reason, associated-resource references, validation summaries, and a renewal object with available status, reason, updatedAt, and domain-validation summaries. The connector excludes DNS challenge records, validation email addresses, and cryptographic material. Inventory, certificate detail, and tag results remain distinct so a workflow can select the smallest read that answers its question.

Lifecycle dates are ISO-8601 strings. Alternate domain names, inUseBy, and each domain-validation collection are limited to 100 entries, with corresponding Truncated flags. Validation entries contain only domain name, method, and status. Tags are limited to 50 key/value pairs; oversized or control-character-bearing values are omitted rather than echoed.

Expiry and renewal fields describe the state returned by AWS at the time of the read. A missing value is not a successful renewal or proof that a certificate is in use.

IntegrationAccount Requirements​

Use a verified AWS IntegrationAccount in READY status. The access key ID belongs in the account API-key field and the secret access key in its protected password field. Credentials come from the platform-resolved connection, never from the workflow input map.

Grant only the actions needed by the selected steps:

acm:ListCertificates
acm:DescribeCertificate
acm:ListTagsForCertificate

ListCertificates is an inventory action; use AWS-supported policy conditions and resource scoping for the detail and tag reads where applicable. The connector does not need certificate write or private-key export permissions.

Domain names, resource ARNs, and tags may reveal infrastructure or ownership information. Keep workflow results within the audience authorized to see that account's certificate posture, and avoid putting secrets in AWS tags.

Configuration​

Select the AWS account through General > Connection, set an explicit region in the operation input, and configure retry policy through the existing ExecModule configuration. There is no second credential selector or credential-bearing operation input.

The module disables AWS SDK retries and applies its own bounded read retry policy. The default is three attempts per provider request; native retry configuration permits one to five. Retryable failures include HTTP 429, transient server failures, network errors, and recognized AWS throttling responses that use HTTP 400. Backoff begins at 250 milliseconds and doubles between retries. With five attempts, the four waits are 250, 500, 1,000, and 2,000 milliseconds. Each AWS call has a 20-second attempt timeout and a 30-second call timeout; the total workflow duration also depends on pages and retries.

Operations​

Discover certificates​

list_certificates returns a bounded regional inventory. Use its certificate ARNs as exact targets for subsequent detail or tag reads. The connector explicitly supplies all seven supported key types when keyTypes is omitted, avoiding ACM's default RSA_2048-only list filter. The bundled SDK does not expose the certificate-key-pair-origin filter, so ACME-origin certificates are not enumerated. Use a separate supported AWS tool if that part of the estate must be reviewed. Pagination bounds apply to the connector result; an inventory that reports more results available is incomplete and should not be treated as a clean posture assessment.

Inspect expiry, validation, and renewal posture​

describe_certificate reads one certificate's metadata. Its purpose is to support questions such as whether the certificate is issued, when it expires, whether renewal is eligible, and whether validation needs attention. It does not perform renewal, modify domain validation, update DNS, or retrieve cryptographic material.

Identify ownership and classification​

list_tags reads the tags attached to one certificate. A workflow can compare an ownership or environment tag with an approved policy, then send an actionable review to the responsible team. Missing tags are evidence for that policy check, not proof that the certificate has no owner.

Errors and Failure Modes​

CodeMeaningGuidance
VALIDATION_ERRORInput fields, values, bounds, or the ARN/region combination are invalid.Correct the input; no provider call was made.
UNSUPPORTED_OPERATIONThe requested action is outside this read-only connector.Choose one of the three documented operations.
INTEGRATION_ACCOUNT_ERRORThe built-in connection is absent, unverified, not READY, or incomplete.Repair and verify the selected AWS account.
AWS_ACM_HTTP_400AWS rejected the request, could not find the certificate, or returned a throttling response.Check the exact ARN, account, region, and structured retryability.
AWS_ACM_HTTP_403AWS denied the requested read.Grant only the required IAM action.
AWS_ACM_HTTP_429 / 500 / 502 / 503 / 504Throttling or transient provider failure.Bounded read retries apply.
NETWORK_ERRORThe regional AWS endpoint could not be reached.Check egress, DNS, and regional availability.
PAGINATION_ERRORAWS repeated a continuation token or returned more items than requested.Treat the inventory as failed; investigate before resuming.
EXECUTION_ERRORAn unexpected local failure was contained.Review server diagnostics and the structured result.

Invalid inputs and an unusable bound account fail before the AWS request. Workflows should branch on the stable error code and retryability instead of matching AWS exception text. The connector does not return provider exception messages or secret-bearing diagnostics. A safe AWS request ID is preserved when available.

Example​

Start a regional expiry review with issued certificates:

{
"operation": "list_certificates",
"region": "us-west-2",
"certificateStatuses": ["ISSUED"],
"limit": 100,
"returnAll": true
}

Illustrative result shape:

{
"status": "success",
"operation": "list_certificates",
"attempts": 1,
"resultType": "certificates",
"items": [
{
"certificateArn": "arn:aws:acm:us-west-2:123456789012:certificate/12345678-1234-1234-1234-123456789012",
"domainName": "api.example.com",
"status": "ISSUED",
"notAfter": "2027-01-15T00:00:00Z"
}
],
"count": 1,
"pages": 1,
"hasMore": false
}

Use one returned certificate ARN in a subsequent detail step:

{
"operation": "describe_certificate",
"region": "us-west-2",
"certificateArn": "arn:aws:acm:us-west-2:123456789012:certificate/12345678-1234-1234-1234-123456789012"
}

Then call list_tags with the same ARN to resolve ownership. A certificate-expiry review reads each certificate's detail and ownership tags. Compare its expiry with the review threshold and attach the responsible team's tag to a ticket or approval task. A separate change workflow or AWS operator handles renewal and validation remediation.

Notes​

  • Pagination: returnAll follows no more than 100 pages and returns at most 1,000 certificates. Each request uses the remaining result bound as MaxItems. Inventory must be reviewed together with its continuation and completeness fields. Detail and tag operations target one exact certificate.
  • Rate limits: Safe read retries are bounded. A transient failure after the retry limit remains a failed read, not an empty inventory.
  • Idempotency: Supported operations only read current provider state and can be repeated. Results can change when AWS state changes.
  • Destructive behavior: None. Certificate issuance, import, renewal, deletion, export, and tag changes are unsupported.
  • Credential safety: Workflow input cannot contain AWS keys, authorization headers, session tokens, raw SDK payloads, or endpoint overrides.
  • Data minimization: Certificate PEM, certificate chains, and private keys are never retrieved by the supported operations.
  • Regional scope: A response describes the chosen account and region. The connector does not perform cross-account or cross-region fan-out.
  • External validation: Deterministic tests establish request and response behavior. They do not prove access to your AWS account, IAM policy, certificate state, or renewal outcome.
  • Availability: A merged connector becomes available in Workflow Studio after a backend deployment includes it in the module catalog.