Skip to main content

acme_external_account_bindings

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

Overview

Nameacme_external_account_bindings
TypeResource
Idaws.acm.acme_external_account_bindings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
acme_endpoint_arnstringThe Amazon Resource Name (ARN) of the ACME endpoint. (pattern: <code>arn:aws[a-z-]*:acm:[a-z0-9-]+:[0-9]{12}:acme-endpoint/[a-zA-Z0-9-]+</code>)
acme_external_account_binding_arnstringThe Amazon Resource Name (ARN) of the ACME external account binding. (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>)
created_atstring (date-time)The time at which the external account binding was created.
expires_atstring (date-time)The time at which the external account binding expires.
last_used_atstring (date-time)The time at which the external account binding was last used.
revoked_atstring (date-time)The time at which the external account binding was revoked.
role_arnstringThe Amazon Resource Name (ARN) of the IAM role associated with the external account binding. (pattern: <code>arn:aws[a-z-]*:iam::[0-9]{12}:role/.+</code>)
updated_atstring (date-time)The time at which the external account binding was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_acme_external_account_bindingselectregionReturns detailed metadata about the specified external account binding, including the associated IAM role, expiration time, and usage history.
list_acme_external_account_bindingsselectregionRetrieves a list of external account bindings for the specified ACME endpoint.
create_acme_external_account_bindinginsertregion, AcmeEndpointArn, RoleArnCreates an external account binding (EAB) for an ACME endpoint. An EAB provides credentials that authorize an ACME client to register an account with the endpoint. Each EAB is associated with an IAM role that controls what certificate operations the ACME client can perform.
revoke_acme_external_account_bindingupdateregion, AcmeExternalAccountBindingArnRevokes an external account binding, preventing new ACME accounts from being registered using this binding. Existing ACME accounts that were previously registered using the binding are not affected and must be revoked separately.
delete_acme_external_account_bindingdeleteregionDeletes an external account binding. Previously fetched credentials for this binding will no longer be usable for account registration. A deleted binding cannot be recovered.

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 external account binding, including the associated IAM role, expiration time, and usage history.

SELECT
acme_endpoint_arn,
acme_external_account_binding_arn,
created_at,
expires_at,
last_used_at,
revoked_at,
role_arn,
updated_at
FROM aws.acm.acme_external_account_bindings
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates an external account binding (EAB) for an ACME endpoint. An EAB provides credentials that authorize an ACME client to register an account with the endpoint. Each EAB is associated with an IAM role that controls what certificate operations the ACME client can perform.

INSERT INTO aws.acm.acme_external_account_bindings (
IdempotencyToken,
AcmeEndpointArn,
RoleArn,
Expiration,
Tags,
region
)
SELECT
'{{ IdempotencyToken }}',
'{{ AcmeEndpointArn }}' /* required */,
'{{ RoleArn }}' /* required */,
'{{ Expiration }}',
'{{ Tags }}',
'{{ region }}'
RETURNING
external_account_binding
;

UPDATE examples

Revokes an external account binding, preventing new ACME accounts from being registered using this binding. Existing ACME accounts that were previously registered using the binding are not affected and must be revoked separately.

UPDATE aws.acm.acme_external_account_bindings
SET
AcmeExternalAccountBindingArn = '{{ AcmeExternalAccountBindingArn }}'
WHERE
region = '{{ region }}' --required
AND AcmeExternalAccountBindingArn = '{{ AcmeExternalAccountBindingArn }}' --required;

DELETE examples

Deletes an external account binding. Previously fetched credentials for this binding will no longer be usable for account registration. A deleted binding cannot be recovered.

DELETE FROM aws.acm.acme_external_account_bindings
WHERE region = '{{ region }}' --required
;