Table Of Contents


User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . acm ]



Requests an ACM Certificate for use with other AWS services. To request an ACM Certificate, you must specify the fully qualified domain name (FQDN) for your site. You can also specify additional FQDNs if users can reach your site by using other names. For each domain name you specify, email is sent to the domain owner to request approval to issue the certificate. After receiving approval from the domain owner, the ACM Certificate is issued. For more information, see the AWS Certificate Manager User Guide .

See also: AWS API Documentation


--domain-name <value>
[--subject-alternative-names <value>]
[--idempotency-token <value>]
[--domain-validation-options <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]


--domain-name (string)

Fully qualified domain name (FQDN), such as, of the site that you want to secure with an ACM Certificate. Use an asterisk (*) to create a wildcard certificate that protects several sites in the same domain. For example, * protects,, and

--subject-alternative-names (list)

Additional FQDNs to be included in the Subject Alternative Name extension of the ACM Certificate. For example, add the name to a certificate for which the DomainName field is if users can reach your site by using either name.


"string" "string" ...

--idempotency-token (string)

Customer chosen string that can be used to distinguish between calls to request-certificate . Idempotency tokens time out after one hour. Therefore, if you call request-certificate multiple times with the same idempotency token within one hour, ACM recognizes that you are requesting only one certificate and will issue only one. If you change the idempotency token for each call, ACM recognizes that you are requesting multiple certificates.

--domain-validation-options (list)

The domain name that you want ACM to use to send you emails to validate your ownership of the domain.

Shorthand Syntax:

DomainName=string,ValidationDomain=string ...

JSON Syntax:

    "DomainName": "string",
    "ValidationDomain": "string"

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.


To request a new ACM certificate

The following request-certificate command requests a new certificate for the domain:

aws acm request-certificate --domain-name

You can enter an idempotency token to distinguish between calls to request-certificate:

aws acm request-certificate --domain-name --idempotency-token 91adc45q

You can enter an alternative name that can be used to reach your website:

aws acm request-certificate --domain-name --idempotency-token 91adc45q --subject-alternative-names

You can also enter multiple alternative names:

aws acm request-certificate --domain-name --subject-alternative-names * *

You can also enter domain validation options to specify the domain to which validation email will be sent:

aws acm request-certificate --domain-name --subject-alternative-names --domain-validation-options,


CertificateArn -> (string)

String that contains the ARN of the issued certificate. This must be of the form: