Keymate Logo

Write Safely. Switch Instantly.

Build complex policies in a visual UI, then instantly switch to DSL — or start with code and refine in form. Keymate keeps both modes in sync and secure.

Write Safely. Switch Instantly.

How Inline Authoring Works

Inline Policy Authoring in Keymate lets users define policies directly within permission workflows — using either form-based UI or direct DSL entry. The two modes are kept in sync using a shared Abstract Syntax Tree (AST) structure. Users can preview how their visual inputs convert to DSL, or toggle into form mode from written logic for safety checks, localization, or guided edits.

Bi-directional Sync

Visual Mode: user.department = "Legal", context.ip NOT IN ["vpn"]. DSL Mode: user.department == "Legal" && !context.ip.startsWith("vpn")

Why It's Unique in Keymate

Bi-directional Visual ↔ DSL Toggle

Seamlessly switch between UI and text with full parity.

Inline Authoring in Permissions UI

Define policies directly while assigning or updating permissions.

Expression Preview & Sync

View DSL live while editing in form mode (or vice versa).

AST-Based Expression Handling

Backend and frontend share the same underlying expression tree for consistency.

Sandboxed DSL Evaluation

Prevent malformed or dangerous input with secure syntax validation.

Scoped Input Modes

Hide/show policy fields depending on context (e.g. for tenant, time, risk).

Frequently Asked Questions

Yes. Keymate provides a full-featured form-based UI for writing policies, with tooltips, validation, and templates.
Absolutely. Your logic stays intact. Switching is powered by a shared AST and DSL serializer.
No. As long as your DSL stays compatible with the visual form schema, switching is safe. Otherwise, Keymate flags you before converting.
Inline authoring is available when creating permissions, role mappings, scoped access rules, and contextual delegation policies.

How to Use This Feature

Follow these simple steps to use inline authoring.

Authoring Steps

1

Start creating or editing a permission

2

Click "Define Inline Policy"

3

Choose visual or DSL mode

4

Use autocomplete, tooltips, or templates

5

Preview logic in the other mode

6

Save and test the policy instantly

ELEVATE YOUR IAM STRATEGY

Ready to Transform Your Keycloak Experience?

Implement fine-grained authorization, multi-tenant infrastructure, and comprehensive security policies with Keymate — built on the Keycloak foundation you already trust.