AWS Security ChangesHomeSearch

AWS iot: Update CLI reference links in attach-thing-principal guide

Service: iot · 2026-08-19 · Documentation low

File: iot/latest/developerguide/attach-thing-principal.md

Summary

Fixed invalid URLs for AWS CLI command references by removing double slashes.

Security assessment

The change corrects documentation links without modifying security practices or addressing threats.

Evidence

+A physical device can use a principal to communicate with AWS IoT. A principal can be an X.509 certificate or an Amazon Cognito ID. You can associate a certificate or an Amazon Cognito ID with the thing in the registry that represents your device, by running the [attach-thing-principal](https://docs.aws.amazon.com/cli/latest/reference/iot/attach-thing-principal.html) command.

Diff

diff --git a/iot/latest/developerguide/attach-thing-principal.md b/iot/latest/developerguide/attach-thing-principal.md
index 4d22bbddb..754ccc0b7 100644
--- a//iot/latest/developerguide/attach-thing-principal.md
+++ b//iot/latest/developerguide/attach-thing-principal.md
@@ -9 +9 @@
-A physical device can use a principal to communicate with AWS IoT. A principal can be an X.509 certificate or an Amazon Cognito ID. You can associate a certificate or an Amazon Cognito ID with the thing in the registry that represents your device, by running the [attach-thing-principal](https://docs.aws.amazon.com//cli/latest/reference/iot/attach-thing-principal.html) command.
+A physical device can use a principal to communicate with AWS IoT. A principal can be an X.509 certificate or an Amazon Cognito ID. You can associate a certificate or an Amazon Cognito ID with the thing in the registry that represents your device, by running the [attach-thing-principal](https://docs.aws.amazon.com/cli/latest/reference/iot/attach-thing-principal.html) command.
@@ -11 +11 @@ A physical device can use a principal to communicate with AWS IoT. A principal c
-To attach a certificate or an Amazon Cognito ID to your thing, use the [attach-thing-principal](https://docs.aws.amazon.com//cli/latest/reference/iot/attach-thing-principal.html) command:
+To attach a certificate or an Amazon Cognito ID to your thing, use the [attach-thing-principal](https://docs.aws.amazon.com/cli/latest/reference/iot/attach-thing-principal.html) command:
@@ -32 +32 @@ If the attachment is successful, the **AttachThingPrincipal** command does not p
-For more information, see [AttachThingPrincipal](https://docs.aws.amazon.com//iot/latest/apireference/API_AttachThingPrincipal.html) from the _AWS IoT Core API Reference_.
+For more information, see [AttachThingPrincipal](https://docs.aws.amazon.com/iot/latest/apireference/API_AttachThingPrincipal.html) from the _AWS IoT Core API Reference_.