Note: This is a forked version of the official Kong Manager OSS with custom modifications.
Getting Started | Configuration | Building | Original Repository
Kong Manager OSS, a free and open-source UI for Kong, the world's most used open source API Gateway.
This fork adds the ability to configure the Kong Admin API URL via environment variables, making it easier to:
- Connect to remote Kong instances during development
- Deploy as a standalone SPA to cloud services (AWS S3, Netlify, etc.)
- Point to different Kong environments without rebuilding
- Support custom Kong deployment configurations
Built and maintained with ❤️ by the team at Kong. Fork maintained for custom deployment scenarios.
Kong Manager OSS allows you to view and edit all Kong Gateway objects using the admin API. It interacts directly with the Kong admin API and does not require a separate database.
Important: Kong Manager OSS is only compatible in Kong Gateway 3.4+
Kong Manager OSS is bundled with Kong Gateway, see Getting Started for information on how to use it. To run Kong Manager OSS locally, please see the contributing section.
You'll need:
- Node.js 18+ and pnpm installed
- A running Kong Gateway 3.4+ instance (local or remote)
pnpm installCreate a .env file in the root directory:
cp .env.example .envEdit .env to configure your Kong Admin API URL and optional API key:
NODE_ENV=production
# Set the Kong Control Plane API URL
# Examples:
# VITE_ADMIN_API_URL=http://localhost:8001
# VITE_ADMIN_API_URL=https://kong-admin.example.com
# VITE_ADMIN_API_URL=http://192.168.1.100:8001
VITE_ADMIN_API_URL=
# Set the X-API-Key header value for authentication
# Required if your Kong Admin API is behind an ALB/API Gateway with API key auth
# You can generate a secure key using: openssl rand -base64 48 | tr -d '\n'
VITE_API_KEY=Important:
- If
VITE_ADMIN_API_URLis not set, the app will default tohttp://<current-host>:8001 - If
VITE_API_KEYis set, it will be sent as anX-API-Keyheader in all API requests
pnpm serveKong Manager will be available at http://localhost:8080
If you don't have Kong Gateway running, use the quickstart script:
curl -Ls https://get.konghq.com/quickstart | bash -s -- -i kong -t latestOr configure an existing Kong instance to allow remote access:
If running Kong on a remote server, ensure
admin_listenis binding to0.0.0.0rather than127.0.0.1inkong.conf
You've been using the admin API just fine for years. Why would you want to use a UI?
Kong Manager OSS is a great way to see your Kong Gateway configuration at glance. You can see the routes and plugins configured on a service and drill in to the configuration of each in a single click.
In addition, the plugin configuration UI provides instructions for each configuration option. You can configure a plugin using the UI with helpful tooltips before running deck dump to see the final configuration values.
This fork supports the following environment variables:
| Variable | Description | Default |
|---|---|---|
VITE_ADMIN_API_URL |
Kong Admin API URL (e.g., http://localhost:8001 or https://kong-admin.example.com) |
Uses current hostname with port 8001 |
VITE_API_KEY |
API key sent as X-API-Key header for authentication (optional) |
None |
Local Kong instance (no authentication):
VITE_ADMIN_API_URL=http://localhost:8001Remote Kong instance with API key authentication:
VITE_ADMIN_API_URL=https://kong-admin.example.com
VITE_API_KEY=your-secure-api-key-hereGenerating a Secure API Key:
# Generate a secure random API key
openssl rand -base64 48 | tr -d '\n'Important Security Considerations:
- Never commit your
.envfile to version control - The
.envfile is already in.gitignorefor your protection - Use different API keys for development, staging, and production environments
- Rotate API keys regularly
- For production deployments to S3/CDN, configure API keys as environment variables in your CI/CD pipeline
Common Use Cases:
- AWS ALB/API Gateway: Use
X-API-Keyheader validation rules - Nginx Reverse Proxy: Configure
proxy_set_headerto validate the key - Kong Gateway Plugin: Use the
key-authplugin on your Admin API
Builds with /__km_base__/ base path for bundling with Kong Gateway:
pnpm buildOutput: dist/ directory
Builds with / root path for standalone deployment:
pnpm build:spaOutput: dist/ directory ready for deployment to:
- AWS S3 + CloudFront
- Netlify
- Vercel
- Any static hosting service
For S3/CloudFront:
- Build with
pnpm build:spa - Upload
dist/contents to S3 bucket - Configure CloudFront or S3 to serve
index.htmlfor all routes (SPA routing) - Set appropriate CORS headers for Kong Admin API
For SPA routing:
Ensure your hosting platform redirects all routes to index.html. Example for S3:
- Set error document to
index.htmlwith 200 status code
CORS Configuration:
Your Kong Admin API must allow CORS from your deployment domain. Add to kong.conf:
admin_gui_url = https://your-manager-domain.com
pnpm previewOr use any static server:
cd dist
python3 -m http.server 8080
# or
php -S localhost:8080This fork maintains compatibility with the upstream Kong Manager OSS. For general contributions, please refer to the original repository.
For fork-specific modifications:
- Fork this repository
- Create a feature branch
- Test your changes with both
pnpm buildandpnpm build:spa - Submit a pull request
- Framework: Vue 3
- Build Tool: Vite
- Package Manager: pnpm
- Language: TypeScript
- UI Components: Kong's Kongponents library


