Documentation
Overview
JIT Guard provides temporary, audited AWS console access via Slack. It integrates with AWS IAM Identity Center to grant time-bound access through reusable groups — called elevations — that end when a timer expires. The grant is the group membership: an empty group grants nobody access. No stale credentials, no manual cleanup, no shared passwords.
Designed for incident response and emergency scenarios, JIT Guard lets authorised team members request access to any account in your AWS Organisation with a single /jit command in Slack. Access is time-bound (1–8 hours), fully logged, and removed automatically.
Building against the HTTP API? See the API reference for the published OpenAPI 3.1 contract and the changelog for versioned release notes.
How It Works
- Request — A team member types
/jitin Slack, selects an account, picks a duration (1h, 2h, 4h, or 8h), and provides a reason. - Evaluate — The request is evaluated against your team's policies. On-call engineers and designated approvers can auto-approve or approve via Slack DM.
- Elevate — JIT Guard uses one reusable IAM Identity Center group per account and permission set. The first request creates the group and assigns the permission set to the target account; every later request adds the user as a member. The user receives a confirmation DM with the expiry time.
- Expire — When the timer elapses, JIT Guard removes the user's group membership and writes an audit record. The group and its account assignment stay in place for the next request; with no members, the group grants nobody access. All done automatically.
Architecture
JIT Guard is a serverless SaaS running in the JIT Guard AWS account. Each customer deploys a lightweight CloudFormation stack in their own Identity Center management account that establishes a cross-account trust.
Key Components
- Slack App — Entry point for elevation requests. Handles slash commands, interactive modals, and auto-complete for account selection.
- Promote Lambda — Processes elevation requests from an SQS queue. Creates or reuses the Identity Center group for the account and permission set, assigns the permission set on first use, adds the user as a member, and schedules automatic demotion via EventBridge Scheduler.
- Demote Lambda — Triggered by EventBridge Scheduler when an elevation expires. Removes the user's Identity Center group membership, writes the audit record, and leaves the reusable group and assignment for the next request.
- Org Sync — An EventBridge rule in your account forwards AWS Organisation events (account created, moved, etc.) to the JIT Guard event bus, keeping the account catalogue up to date.
- DynamoDB — Single-table design with tenant isolation via composite keys. Stores customer config, account catalogue, organisation units, audit records, and Stripe billing data.
- Billing — Stripe subscription management with monthly billing. Free trial included. Billing is processed asynchronously via SQS queues.
Prerequisites
- AWS IAM Identity Center enabled in your AWS Organisation (formerly AWS SSO). Must be set up with at least one user and one permission set for JIT access.
- AWS Organisations with the accounts you want to manage. The account catalogue syncs automatically via EventBridge.
- A Slack workspace with the ability to install Slack apps. Bot token scopes are handled automatically during setup.
- AWS CLI access to your Identity Center management account for CloudFormation deployment.
Getting Started
Follow these steps to connect your AWS organisation to JIT Guard. The process takes approximately 15 minutes.
Step 1: Sign Up
Visit the JIT Guard signup page and create your account. You'll receive a customer ID and a role ARN for the CloudFormation stack.
Step 2: Deploy the CloudFormation Stack
In your Identity Center management account, deploy the JIT Guard CloudFormation stack using the provided template. The stack creates:
- An IAM role that JIT Guard assumes to manage Identity Center resources
- An EventBridge rule that forwards Organisation events (account creation, moves, etc.) to the JIT Guard event bus
Use the AWS CLI or CloudFormation console to deploy. The only parameter is your JIT Guard customer ID.
The stack does not create or change permission sets. You define those in Identity Center; JIT Guard only assigns the one you choose to the reusable group for that account.
Open the template · What this stack creates
Step 3: Connect Your AWS Organisation
Once the stack is deployed, return to the JIT Guard dashboard and click Connect. Enter your management account ID — JIT Guard discovers the rest (Identity Center instance, organisation structure, accounts) automatically.
Step 4: Install the Slack App
On the dashboard, follow the Slack app installation link. You'll be prompted to authorise the JIT Guard bot with the necessary scopes for your workspace. Once installed, the bot is ready to handle /jit commands.
Step 5: Start Elevating
Type /jit in any Slack channel or DM with the JIT Guard bot. Select an account, choose a duration, add a reason, and you're elevated. You'll receive a DM confirmation with the expiry time.
Slack Commands
/jit [account-id]
Request elevation to an AWS account. Two modes:
- Quick promote —
/jit 123456789012elevates you to the specified account for 1 hour immediately. Useful when you know the account ID. - Modal promote —
/jit(no arguments) opens an interactive modal with account auto-complete, duration selection (1h, 2h, 4h, 8h), and a reason field.
Dashboard
The JIT Guard web dashboard at https://app.jitguard.com provides:
- Connection status — Whether your AWS organisation is connected and syncing properly
- Account overview — View all accounts in your organisation, sorted by OU
- Billing management — View your current plan and manage payment via the Stripe Customer Portal
- Subscription status — See your tier (free trial / paid / expired) and next billing date
Account Catalogue
JIT Guard maintains a synchronised copy of your AWS Organisation's accounts and organisational units (OUs) in DynamoDB. This powers the auto-complete in the Slack modal, so users can search accounts by name or ID.
The catalogue is kept up to date via EventBridge: when accounts are created, moved, renamed, or removed in your organisation, an event is forwarded to JIT Guard and the catalogue is updated within seconds.
Billing & Plans
JIT Guard offers three tiers of service. Every plan includes unlimited users and unlimited AWS accounts. All plans include a 3-month free trial with no credit card required.
- Basic ($25/month) — 30-day audit retention, 10 promotions + 10 approvals per month ($0.10/$0.05 overage), Slack integration + web dashboard, PagerDuty on-call sync, SAML/SSO federation, email support
- Business ($150/month) — everything in Basic, plus 50 promotions + 25 approvals per month ($0.07/$0.03 overage), 365-day audit retention and a dedicated Slack support channel
- Enterprise ($1,500/month) — everything in Business, plus 250 promotions + 250 approvals per month ($0.02/$0.01 overage), 3-year audit retention, a dedicated support channel and AWS Marketplace
The free trial includes up to 25 promotions and 25 approvals per month, hard-capped and without SAML/SSO federation. Billing is handled monthly via Stripe. You can view and manage your subscription at any time from the dashboard. Upgrade or downgrade at any time — upgrades take effect immediately with prorated billing.
Security Model
- Tenant isolation — Each customer's data is stored under a unique partition key in DynamoDB. Access is scoped via IAM session policies that restrict operations to the customer's partition.
- Cross-account access — JIT Guard assumes an IAM role in your Identity Center management account. The role is scoped to specific Identity Center actions (create/delete groups, assign permission sets, add/remove group members) and cannot create or edit permission sets — JIT Guard has no access to your EC2, S3, or other AWS resources.
- Encryption — All data is encrypted at rest via DynamoDB SSE. All API traffic uses TLS 1.2+.
- Reusable groups — JIT Guard creates one group per account and permission set, prefixed with
jitguard-and named for the account and permission set. The grant is the membership; an empty group grants nobody access. Unused groups are removed automatically so they do not accumulate. - Slack signature verification — All Slack requests are verified using HMAC-SHA256 with timing-safe comparison.
Audit Trail
Every elevation event is recorded as an immutable audit record in DynamoDB. Each record includes:
- Event type —
promote(access granted),demote(access expired), orfailure - Identity — Slack user ID and resolved email address
- Target — AWS account ID that was accessed
- Duration — Requested duration in seconds
- Reason — User-provided justification for the elevation
- Timestamps — When access was granted and when it expired
Audit records are retained per your plan's retention policy (30 days for the free trial and Basic, 365 days for Business, and 3 years for Enterprise and custom plans). After the retention period, records are automatically purged via DynamoDB TTL.
Audit logs can be exported upon request — contact support for a data export.
Approval Workflows
JIT Guard supports configurable policies for elevation requests. Depending on your team's configuration:
- Auto-approved — Users who are on-call (via PagerDuty sync) can be auto-approved for immediate elevation.
- Requires approval — Elevations to sensitive accounts (e.g., production) or long durations can require one or more designated approvers to approve via Slack DM.
- Audit-only — Log everything but don't block any requests.
Troubleshooting: no messages after pressing Promote
If the modal closes but you never see a confirmation, check that the JIT Guard app's Messages tab is enabled: open the app's home (click the JIT Guard app in the sidebar), open the About tab, and re-enable Messages. Direct-message confirmations require it. Your active promotions always appear on the app's Home tab regardless.
Configuring policies
Policies are configured per-customer and stored in your configuration record. Contact support to set up custom approval workflows for your team.
Frequently Asked Questions
What happens when my free trial ends?
If you don't subscribe before the trial expires, elevation requests are blocked with a Slack DM explaining that your free trial has ended. You can subscribe at any time from the dashboard billing page — access resumes immediately.
Can I cancel my subscription?
Yes. Cancel from the Stripe Customer Portal in the dashboard. Access continues until the end of the current billing period. Your data is retained for 30 days after cancellation, then deleted.
How are permissions scoped?
JIT Guard uses IAM Identity Center permission sets. You define the permission set (e.g., AdministratorAccess, PowerUserAccess, or a custom scoped set) in your Identity Center console. JIT Guard assigns it to the reusable group for the target account on first use and never creates or edits permission sets.
Can I approve/deny requests from my phone?
Yes. Approval requests are sent as Slack DMs with approve/deny buttons. The Slack mobile app works great for this — no separate dashboard required.
What regions do you support?
Identity Center can be enabled in any region. JIT Guard automatically probes common regions to discover your SSO instance. Organisation APIs are global (us-east-1). The JIT Guard service runs in eu-west-1 (Ireland).
How is pricing calculated?
Pricing is per AWS Organisation. Every plan includes unlimited users and unlimited AWS accounts, so there are no per-user or per-account fees. Plans differ by audit retention, support and enterprise controls; promotions and approvals are metered against a monthly allowance.
Troubleshooting
I typed /jit but nothing happened
Ensure the JIT Guard Slack app is installed in your workspace and that you're typing the command in a channel where the bot is present, or in a DM with the bot.
I'm not receiving messages from the JIT Guard bot
Status updates and confirmation messages arrive in the app's Messages tab. If it's not there, open the JIT Guard app in Slack (search for it in the app launcher), go to App Home, and turn on the Messages tab.
The account auto-complete is empty
The account catalogue syncs via EventBridge from your AWS Organisation. If no accounts appear, verify that the CloudFormation stack was deployed successfully and that your organisation has accounts. The sync runs on initial connection and then via event forwarding.
I got an "access denied" error during elevation
Verify that the JIT Guard IAM role in your account has the necessary permissions for Identity Center (create/delete groups, assign permission sets, add/remove group members). The CloudFormation stack template includes the required policy — check that it wasn't modified.
The dashboard shows "Disconnected"
This means JIT Guard can no longer assume the cross-account role. This can happen if the role was deleted, its trust policy was modified, or the management account ID changed. Re-deploy the CloudFormation stack or contact support.
Versioning & Releases
The public HTTP API is versioned by path. The current version is /v1; within it we make additive, backwards-compatible changes only. Breaking changes require a new major path such as /v2.
The unversioned legacy paths were deprecated on 25 October 2026 and carry Deprecation, Sunset, and Link response headers. They remain available until Sunset: 2027-10-25; migrate to /v1 before then.
The Terraform provider follows Semantic Versioning, independent of the API path version. Deprecations are announced at least one minor release before removal. See the changelog for dated API and provider release notes, or the provider changelog for upgrade notes.
Support
Email support@jitguard.com for help with any issues. Enterprise customers receive a dedicated Slack support channel.