Keymate Logo

Swagger-Driven Resource Modeling, Built for Policy Enforcement

Import your OpenAPI specs and let Keymate automatically extract resources, scopes, and actions—ready for immediate use in policies, UI, and FGA evaluation. No manual definitions, just instant alignment.

From Swagger to Policy-Ready Models in Seconds

Keymate's parser engine consumes your OpenAPI documents and instantly generates policy-ready models that feed directly into policy definition workflows.

Automated Resource Generation

These models feed directly into policy definition workflows—powering DSL, UI, and OpenFGA-backed policy authoring. Bulk imports and REST API support enable full CI/CD integration for continuous governance.

Example: Keymate's parser engine consumes your OpenAPI documents and instantly generates normalized resources, scopes, and actions.

Key Components:

Normalized API resource definitions (method + path)
Scope structures aligned with HTTP methods
Parameterized resources (e.g., /users/{userId})
Custom actions inferred from path verbs (e.g., /send)
Associated metadata (tags, descriptions, operation IDs)

What Makes It Unique

Discover the key capabilities that make Keymate's Swagger-based modeling a powerful tool for developers and security teams.

OpenAPI Parser Engine

Parses v2/v3 Swagger and OpenAPI specs to extract resources, scopes, and actions.

Auto-Detect Resource Scopes

Infers CRUD scopes from HTTP methods; supports custom action verbs.

Parameterized URL Modeling

Models URLs with path variables and maps them to dynamic policy parameters.

Operation Metadata Capture

Retains operation ID, summary, and tags for use in policies and audit logs.

Bulk Import Support

Upload Swagger JSON/YAML or call REST API to import resources in bulk.

CI/CD Integration

REST API allows automated resource syncing as part of your pipeline.

Automated, policy-ready resource generation.

Frequently Asked Questions

Common questions about Keymate's Swagger-based resource modeling.

Yes. We support both Swagger v2 and OpenAPI v3 specifications.
No problem. Our parser recognizes custom verbs like send, submit, and approve and binds them to custom actions in policies.
Yes. You can bulk upload OpenAPI specs or use our REST API for continuous integration.
They're automatically detected and exposed as dynamic policy parameters—usable in DSL and FGA evaluations.

How to Use This Feature

Follow these steps to integrate and utilize Keymate's resource modeling.

Implementing Resource Modeling in Your System

1

Export OpenAPI/Swagger File

Export the spec from your application or API gateway.

2

Upload to Keymate

Upload through the Admin Console or send via REST API.

3

Review and Approve

Review the generated resources and scopes before saving.

4

Bind Policies

Bind policies to the newly created resources using the UI or DSL.

5

Sync and Visualize

Continuously sync new endpoints and visualize decisions in the observability panel.

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.