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
How to Use This Feature
Follow these simple steps to author a policy.