Skip to content

Commit db91ca6

Browse files
committed
revamp acm
1 parent 4b5ea0b commit db91ca6

File tree

1 file changed

+14
-16
lines changed
  • src/content/docs/aws/services

1 file changed

+14
-16
lines changed

src/content/docs/aws/services/acm.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
title: "Certificate Manager (ACM)"
3-
linkTitle: "Certificate Manager (ACM)"
43
description: Get started with AWS Certificate Manager (ACM) on LocalStack
54
tags: ["Free"]
65
---
@@ -14,7 +13,7 @@ ACM supports securing multiple domain names and subdomains and can create wildca
1413
You can also use ACM to import certificates from third-party certificate authorities or to generate private certificates for internal use.
1514

1615
LocalStack allows you to use the ACM APIs to create, list, and delete certificates.
17-
The supported APIs are available on our [API coverage page]({{< ref "coverage_acm" >}}), which provides information on the extent of ACM's integration with LocalStack.
16+
The supported APIs are available on our [API coverage page](), which provides information on the extent of ACM's integration with LocalStack.
1817

1918
## Getting started
2019

@@ -26,13 +25,13 @@ Start your LocalStack container using your preferred method, then use the [Reque
2625
Specify the domain name you want to request the certificate for, and any additional options you need.
2726
Here's an example command:
2827

29-
{{< command >}}
30-
$ awslocal acm request-certificate \
28+
```bash
29+
awslocal acm request-certificate \
3130
--domain-name www.example.com \
3231
--validation-method DNS \
3332
--idempotency-token 1234 \
3433
--options CertificateTransparencyLoggingPreference=DISABLED
35-
{{< /command >}}
34+
```
3635

3736
This command will return the Amazon Resource Name (ARN) of the new certificate, which you can use in other ACM commands.
3837

@@ -48,36 +47,35 @@ Use the [`ListCertificates` API](https://docs.aws.amazon.com/acm/latest/APIRefer
4847
This command returns a list of the ARNs of all the certificates that have been requested or imported into ACM.
4948
Here's an example command:
5049

51-
{{< command >}}
52-
$ awslocal acm list-certificates --max-items 10
53-
{{< /command >}}
50+
```bash
51+
awslocal acm list-certificates --max-items 10
52+
```
5453

5554
### Describe the certificate
5655

5756
Use the [`DescribeCertificate` API](https://docs.aws.amazon.com/acm/latest/APIReference/API_DescribeCertificate.html) to view the details of a specific certificate.
5857
Provide the ARN of the certificate you want to view, and this command will return information about the certificate's status, domain name, and other attributes.
5958
Here's an example command:
6059

61-
{{< command >}}
62-
$ awslocal acm describe-certificate --certificate-arn arn:aws:acm:<region>:account:certificate/<certificate_ID>
63-
{{< /command >}}
60+
```bash
61+
awslocal acm describe-certificate --certificate-arn arn:aws:acm:<region>:account:certificate/<certificate_ID>
62+
```
6463

6564
### Delete the certificate
6665

6766
Finally you can use the [`DeleteCertificate` API](https://docs.aws.amazon.com/acm/latest/APIReference/API_DeleteCertificate.html) to delete a certificate from ACM, by passing the ARN of the certificate you want to delete.
6867
Here's an example command:
6968

70-
{{< command >}}
71-
$ awslocal acm delete-certificate --certificate-arn arn:aws:acm:<region>:account:certificate/<certificate_ID>
72-
{{< /command >}}
69+
```bash
70+
awslocal acm delete-certificate --certificate-arn arn:aws:acm:<region>:account:certificate/<certificate_ID>
71+
```
7372

7473
## Resource Browser
7574

7675
The LocalStack Web Application provides a Resource Browser for managing ACM Certificates.
7776
You can access the Resource Browser by opening the LocalStack Web Application in your browser, navigating to the **Resource Browser** section, and then clicking on **Certificate Manager** under the **Security Identity Compliance** section.
7877

79-
<img src="acm-resource-browser.png" alt="ACM Resource Browser" title="ACM Resource Browser" width="900" />
80-
<br><br>
78+
![ACM Resource Browser](/images/aws/acm-resource-browser.png)
8179

8280
The Resource Browser allows you to perform the following actions:
8381

0 commit comments

Comments
 (0)