Keymate Logo

Smart Editing for Smarter Policies

Keymate's advanced expression editor combines real-time syntax validation, autocomplete from a shared vocabulary, and localized tooltips — all in a secure, sandboxed environment built for scale.

Smart Editing for Smarter Policies

How the Expression Editor Empowers Policy Authors

Keymate includes a modern DSL editor built with Monaco-style capabilities, integrated with a centralized vocabulary API. This lets you define access policies confidently — with syntax highlighting, intelligent suggestions, inline validation, and context-aware tooltips. Sandbox execution ensures safe evaluation and prevents abuse of the engine.

Intelligent Suggestions

Typing user. suggests: user.id, user.department, user.role. Each with type hints and translated tooltip: department: Kullanıcının çalıştığı departman (örn. "Finance")

What Makes It Unique

Autocomplete from Vocabulary API

Suggest fields dynamically from categories like user, context, token, resource.

Inline Syntax Validation

Catch errors as you type, using a shared grammar between frontend and backend.

Localized Tooltips

Each suggestion includes i18n-enabled help text, examples, and descriptions.

Sandboxed Evaluation

Expressions are parsed and executed in a secured engine (MVEL on backend, expr-eval on frontend).

Light & Dark Mode Ready

Editor supports multiple themes for readability and accessibility.

Expression Templates

Start with pre-written patterns like "Department-based access" or "IP whitelist".

Frequently Asked Questions

It's used to define access control policies in DSL — a human-readable, policy-friendly syntax. In Keymate, it supports DSL across ABAC, PBAC, DSAC and more.
Yes. Autocomplete, tooltips, templates, and form mode help non-technical users write and understand policies easily.
The editor fetches field definitions in real-time from the /api/expression/vocabulary API and provides scoped suggestions per category.
Yes. Keymate uses a secure, sandboxed execution environment with allow-listed variables and precompiled expressions for safe and fast evaluations.

How to Use This Feature

Follow these simple steps to author a policy.

Authoring Steps

1

Open the "Create New Policy" form in Admin Console

2

Start typing in the DSL field or switch to guided mode

3

Use autocomplete suggestions and review tooltips

4

Fix any validation errors in real-time

5

Simulate the policy before saving

6

Publish to DEV, TEST, or PROD with version tracking

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.