Skip to main content

acme_accounts

Creates, updates, deletes, gets or lists an acme_accounts resource.

Overview

Nameacme_accounts
TypeResource
Idaws.acm.acme_accounts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
account_urlstringThe URL of the ACME account.
acme_external_account_binding_arnstringThe Amazon Resource Name (ARN) of the external account binding associated with this ACME account. (pattern: <code>arn:aws[a-z-]*:acm:[a-z0-9-]+:[0-9]{12}:acme-endpoint/[a-zA-Z0-9-]+/acme-external-account-binding/[a-zA-Z0-9-]+</code>)
contactsarrayThe contact information for the ACME account.
created_atstring (date-time)The time at which the ACME account was created.
public_key_thumbprintstringThe thumbprint of the public key associated with the ACME account.
statusstringThe status of the ACME account. (VALID, DEACTIVATED, REVOKED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_acme_accountselectregionReturns detailed metadata about the specified ACME account, including its status, public key thumbprint, and associated external account binding.
list_acme_accountsselectregionRetrieves a list of ACME accounts registered with the specified ACME endpoint. ACME accounts are created when clients use external account binding credentials to register.
revoke_acme_accountupdateregion, AcmeEndpointArn, AccountUrlRevokes an ACME account, preventing it from requesting or revoking certificates. This operation is irreversible.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns detailed metadata about the specified ACME account, including its status, public key thumbprint, and associated external account binding.

SELECT
account_url,
acme_external_account_binding_arn,
contacts,
created_at,
public_key_thumbprint,
status
FROM aws.acm.acme_accounts
WHERE region = '{{ region }}' -- required
;

UPDATE examples

Revokes an ACME account, preventing it from requesting or revoking certificates. This operation is irreversible.

UPDATE aws.acm.acme_accounts
SET
AcmeEndpointArn = '{{ AcmeEndpointArn }}',
AccountUrl = '{{ AccountUrl }}'
WHERE
region = '{{ region }}' --required
AND AcmeEndpointArn = '{{ AcmeEndpointArn }}' --required
AND AccountUrl = '{{ AccountUrl }}' --required;