Security
Paste a .env file and get a staged secret-rotation plan. Detects database URLs, API keys, auth tokens, private keys, cloud credentials, payment keys and encryption secrets, scores each by exposure and age, and schedules them across a 4-week rotation timeline with a dual-key checklist and a generated .env.example. Optional last-rotated dates and a configurable cadence (30/90/180/365 days) drive compliance scoring.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/env-file-secret-rotation-planner' \
-H 'Content-Type: application/json' \
-d '{"envContent":"DATABASE_URL=postgres://app:[email protected]:5432/shop\nSTRIPE_SECRET_KEY=sk_live_51HqkAbCdefGHIjklMnoPqrstuVwxYz0123456\nJWT_SECRET=9f8a7b6c5d4e3f2a1b0c9d8e7f6a5b4c\nGITHUB_TOKEN=ghp_AbCdEfGhIjKlMnOpQrStUvWxYz0123456789\nPORT=3000\nNODE_ENV=production","cadence":"90","today":"","lastRotated":"JWT_SECRET=2026-01-15\nDATABASE_URL=2026-04-01","showExample":true,"showTimeline":true}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/env-file-secret-rotation-planner| Name | Type | Required | Description |
|---|---|---|---|
| envContent | textarea | Yes | — |
| cadence | select | No | — |
| today | date | No | — |
| lastRotated | textarea | No | — |
| showExample | checkbox | No | — |
| showTimeline | checkbox | No | — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-env-file-secret-rotation-planner": {
"name": "env-file-secret-rotation-planner",
"description": "Paste a .env file and get a staged secret-rotation plan. Detects database URLs, API keys, auth tokens, private keys, cloud credentials, payment keys and encryption secrets, scores each by exposure and age, and schedules them across a 4-week rotation timeline with a dual-key checklist and a generated .env.example. Optional last-rotated dates and a configurable cadence (30/90/180/365 days) drive compliance scoring.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=env-file-secret-rotation-planner",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "env-file-secret-rotation-planner",
"arguments": {
"envContent": "DATABASE_URL=postgres://app:[email protected]:5432/shop\nSTRIPE_SECRET_KEY=sk_live_51HqkAbCdefGHIjklMnoPqrstuVwxYz0123456\nJWT_SECRET=9f8a7b6c5d4e3f2a1b0c9d8e7f6a5b4c\nGITHUB_TOKEN=ghp_AbCdEfGhIjKlMnOpQrStUvWxYz0123456789\nPORT=3000\nNODE_ENV=production",
"cadence": "90",
"today": "",
"lastRotated": "JWT_SECRET=2026-01-15\nDATABASE_URL=2026-04-01",
"showExample": true,
"showTimeline": true
}
}
}Questions or issues? Contact [email protected]