Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

docs

Matheus Nogueira5b2dcabc421c
diff --git a/docs/documentation/platform/honey-tokens/overview.mdx b/docs/documentation/platform/honey-tokens/overview.mdx
index c157dfd3f6..10f8518c23 100644
--- a/docs/documentation/platform/honey-tokens/overview.mdx
+++ b/docs/documentation/platform/honey-tokens/overview.mdx
@@ -4,16 +4,9 @@ sidebarTitle: "Overview"
description: "Detect unauthorized access to your secrets by planting decoy AWS credentials monitored by Infisical."
---
-Honey tokens are decoy credentials that act as tripwires. When an attacker gains access to your secrets and attempts to use a honey token, Infisical detects the activity via AWS CloudTrail and immediately alerts your team.
+Honey tokens are decoy credentials that act as tripwires. When an attacker gains access to your secrets and attempts to use a honey token, Infisical detects the activity and immediately alerts your team.
-Each honey token consists of a real but unprivileged AWS IAM user and access key pair. The credentials are planted alongside your real secrets so they appear genuine. Any API call made with these credentials triggers an alert.
-
-## How It Works
-
-1. Infisical creates a no-permission IAM user in your AWS account via an [AWS App Connection](/integrations/app-connections/aws).
-2. A CloudFormation stack monitors CloudTrail for any API calls made with that IAM user's access key.
-3. When activity is detected, a signed webhook notifies Infisical.
-4. Infisical marks the honey token as **Triggered** and sends an email alert to organization admins.
+Each honey token is planted alongside your real secrets so it appears genuine. Any attempt to use these credentials triggers an alert and notifies organization admins.
## Getting Started
diff --git a/docs/documentation/platform/honey-tokens/setup.mdx b/docs/documentation/platform/honey-tokens/setup.mdx
index 77c36bbcd6..b5bfbb6bdc 100644
--- a/docs/documentation/platform/honey-tokens/setup.mdx
+++ b/docs/documentation/platform/honey-tokens/setup.mdx
@@ -56,31 +56,18 @@ description: "One-time organization setup for AWS honey tokens."
<Step title="Select an AWS App Connection">
Choose the AWS App Connection that has the IAM permissions listed in the prerequisites above.
- {/* <!-- Screenshot: The App Connection dropdown with an AWS connection selected --> */}
+ ![Select AWS App Connection](/images/platform/honey-tokens/1.png)
</Step>
<Step title="Deploy the CloudFormation stack">
- The page displays a pre-filled AWS CLI command. Copy and run it in your terminal:
+ The settings page displays a pre-filled AWS CLI command with your webhook URL, signing key, and stack name already populated. Copy the command from the UI and run it in your terminal.
- ```bash
- aws cloudformation create-stack \
- --region us-east-1 \
- --stack-name infisical-honey-tokens \
- --template-url https://infisical-static-assets.s3.us-east-1.amazonaws.com/honey-tokens/honey-tokens-v1.yaml \
- --capabilities CAPABILITY_NAMED_IAM \
- --parameters \
- ParameterKey=WebhookUrl,ParameterValue=<your-webhook-url> \
- ParameterKey=WebhookSigningKey,ParameterValue=<your-signing-key>
- ```
+ ![Deploy CloudFormation Stack](/images/platform/honey-tokens/2.png)
<Tip>
- The webhook URL, signing key, and stack name are automatically populated
- in the UI — just copy the command directly from the settings page.
+ Always copy the command from the settings page — it includes your actual
+ webhook URL and signing key pre-filled.
</Tip>
- This stack provisions:
- - A CloudTrail trail that monitors IAM API calls from honey token users
- - An EventBridge rule that forwards matching events to Infisical via a signed webhook
-
Wait for the stack to reach `CREATE_COMPLETE` status before proceeding. You can check with:
```bash
@@ -88,19 +75,18 @@ description: "One-time organization setup for AWS honey tokens."
--stack-name infisical-honey-tokens \
--query "Stacks[0].StackStatus"
```
+ </Step>
+ <Step title="Advanced Options (optional)">
+ **CloudFormation Stack Name** — defaults to `infisical-honey-tokens`. You can customize this if
+ you have naming conventions or need multiple stacks. The name must be 1–128 characters.
- {/* <!-- Screenshot: The Deploy CloudFormation Stack section showing the generated CLI command --> */}
+ ![Advanced Options](/images/platform/honey-tokens/3.png)
</Step>
<Step title="Save the configuration">
Click **Save**. Infisical verifies that the CloudFormation stack is deployed before saving.
- {/* <!-- Screenshot: The completed form with all fields filled and the Save button --> */}
+ ![Save configuration](/images/platform/honey-tokens/4.png)
</Step>
</Steps>
-<Accordion title="Advanced Options">
- **CloudFormation Stack Name** — defaults to `infisical-honey-tokens`. You can customize this if
- you have naming conventions or need multiple stacks. The name must be 1–128 characters.
-</Accordion>
-
Setup is complete. You can now [create honey tokens](/documentation/platform/honey-tokens/usage) in any project.
diff --git a/docs/documentation/platform/honey-tokens/usage.mdx b/docs/documentation/platform/honey-tokens/usage.mdx
index 1de90589ee..dba2e4f4a1 100644
--- a/docs/documentation/platform/honey-tokens/usage.mdx
+++ b/docs/documentation/platform/honey-tokens/usage.mdx
@@ -34,10 +34,7 @@ description: "Create, monitor, and manage AWS honey tokens in your projects."
{/* <!-- Screenshot: The honey token creation form showing all fields filled out --> */}
</Step>
<Step title="Review and create">
- Review the configuration summary, then click **Create**. Infisical will:
- 1. Create a no-permission IAM user in your AWS account.
- 2. Generate an access key pair for that user.
- 3. Store the credentials as secrets in the specified environment and path.
+ Review the configuration summary, then click **Create**. Infisical will provision the decoy credentials in your AWS account and store them as secrets in the specified environment and path.
{/* <!-- Screenshot: The review step of the creation dialog --> */}
</Step>
@@ -47,12 +44,7 @@ The honey token is now **Active**. The decoy secrets appear alongside your real
## Notifications
-When someone uses a honey token's credentials to make any AWS API call:
-
-1. AWS CloudTrail logs the API call.
-2. The CloudFormation stack's EventBridge rule forwards the event to Infisical via the signed webhook.
-3. Infisical marks the honey token as **Triggered**.
-4. An email alert is sent to all organization admins with:
+When someone uses a honey token's credentials to make any AWS API call, Infisical detects the activity, marks the honey token as **Triggered**, and sends an email alert to all organization admins with:
- The name of the triggered honey token and its project
- The AWS API call that was made (e.g., `GetUser`, `ListBuckets`)
- The source IP address and AWS region
diff --git a/docs/images/platform/honey-tokens/1.png b/docs/images/platform/honey-tokens/1.png
new file mode 100644
index 0000000000..40574d8ab5
Binary files /dev/null and b/docs/images/platform/honey-tokens/1.png differ
diff --git a/docs/images/platform/honey-tokens/2.png b/docs/images/platform/honey-tokens/2.png
new file mode 100644
index 0000000000..ed60aea22d
Binary files /dev/null and b/docs/images/platform/honey-tokens/2.png differ
diff --git a/docs/images/platform/honey-tokens/3.png b/docs/images/platform/honey-tokens/3.png
new file mode 100644
index 0000000000..58dc30243e
Binary files /dev/null and b/docs/images/platform/honey-tokens/3.png differ
diff --git a/docs/images/platform/honey-tokens/4.png b/docs/images/platform/honey-tokens/4.png
new file mode 100644
index 0000000000..e1875078ed
Binary files /dev/null and b/docs/images/platform/honey-tokens/4.png differ