Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
---
title: "Using AWS honey tokens"
sidebarTitle: "Usage"
description: "Create, monitor, and manage AWS honey tokens in your projects."
---
<Note>
Before creating honey tokens, an organization admin must complete the
[one-time setup](/documentation/platform/honey-tokens/aws/setup).
</Note>
<Note>
Creating, editing, resetting, and revoking honey tokens requires project-level **Admin** permissions by default. Members and Viewers can only view honey tokens. See the [Permissions](/documentation/platform/honey-tokens/overview#permissions) section for details on configuring custom roles.
</Note>
## Creating a honey token
<Steps>
<Step title="Open the Secrets Dashboard">
Navigate to your project's Secrets Management dashboard and select the environment and secret path where you want to plant the honey token.
</Step>
<Step title="Add a Honey Token">
Select the **Add Honey Token** button to open the creation dialog.

</Step>
<Step title="Select the honey token type">
Choose the type of honey token you want to create.

</Step>
<Step title="Environment Configuration">
Configure where the honey token and its credentials will be planted within your project:
- **Environment** — choose the target environment.
<Note>
The secret path is automatically determined based on which secret path you are currently in while creating the honey token.
</Note>

</Step>
<Step title="Configure Secret Mappings">
Configure the secret mappings. This dictates which secret keys will be created in your selected environment and secret path to hold the honey token credentials.
- **Access Key ID** — secret name for the AWS access key ID (for example: `AWS_ACCESS_KEY_ID`).
- **Secret Access Key** — secret name for the AWS secret access key (for example: `AWS_SECRET_ACCESS_KEY`).

</Step>
<Step title="Configure Details">
Add the honey token details to help you better identify it in the future:
- **Name** — a slug-friendly identifier (must be unique within the selected folder).
- **Description** (optional) — context for this honey token.
Click **Create**. Infisical provisions the decoy credentials in your AWS account and stores them as secrets in the selected environment and path.

</Step>
</Steps>
The honey token is now **Active**. The decoy secrets appear alongside your real secrets and are included in any secret syncs or integrations.
## Notifications
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
- The time of the event
- A direct link to the honey token in the Infisical dashboard
<Note>
To avoid alert fatigue, Infisical sends at most one email notification per
honey token every 24 hours. All trigger events are still recorded and
viewable in the event log.
</Note>
## Managing honey tokens
### Viewing events
Open a honey token's detail page to see a chronological log of all trigger events since the last reset. Each event shows the AWS API call, source IP, region, and timestamp.

### Resetting a triggered token
If a honey token is in **Triggered** status and you've addressed the incident, select **Reset** to return it to **Active** status. This hides previous events from the event log view (events are still stored in the database) and re-enables email notifications.

### Revoking a honey token
To permanently deactivate a honey token, select **Revoke**. This will:
- Delete the IAM user and access key from AWS
- Remove the decoy secrets from the project
- Mark the honey token as **Revoked**
Revocation is irreversible.
