Skill: krishnakumarmahadevan-cmd/toolweb-the-linkedin-optimization-toolkit (version 1.0.0)

--- name: Central Key Management System description: Enterprise-grade API key generation, verification, and lifecycle management with centralized administrative control. --- # Overview The Central Key Management System is a secure, centralized platform for managing cryptographic API keys across distributed applications and services. Designed for organizations that require strict control over key generation, distribution, and revocation, this system provides administrators with a comprehensive dashboard to oversee all key lifecycle operations. This system enables secure authentication through admin-controlled key generation, real-time key verification, and immediate revocation capabilities. The platform maintains detailed audit trails and session management, making it ideal for enterprises operating under regulatory compliance frameworks such as SOC 2, ISO 27001, and PCI-DSS. Organizations use the Central Key Management System to enforce key rotation policies, prevent unauthorized access through rapid revocation, and maintain centralized visibility into all API key operations across their infrastructure. ## Usage ### Generate a New API Key **Request:** ```json { "client_name": "payment-service-prod", "expires_at": "2025-12-31T23:59:59Z" } ``` **cURL:** ```bash curl -X POST https://api.mkkpro.com/career/linproopt/generate-key-ui \ -H "Content-Type: application/x-www-form-urlencoded" \ -d "client_name=payment-service-prod&expires_at=2025-12-31T23:59:59Z" ``` **Response:** ```json { "api_key": [REDACTED_SECRET], "client_name": "payment-service-prod", "created_at": "2024-01-15T10:30:22Z", "expires_at": "2025-12-31T23:59:59Z", "status": "active" } ``` ### Verify an API Key **Request:** ```bash curl -X POST https://api.mkkpro.com/career/linproopt/verify-key \ -H "Content-Type: application/json" \ -d '{"api_key": [REDACTED_SECRET]}' ``` **Response:** ```json { "valid": true, "client_name": "payment-service-prod", "expires_at": "2025-12-31T23:59:59Z", "status": "active", "last_used": "2024-01-15T14:22:10Z" } ``` ## Endpoints ### Authentication #### GET `/login` Retrieve the login page interface. **Response:** - **200 OK** - HTML login page (text/html) --- #### POST `/login` Authenticate using an admin key to access the management dashboard. **Parameters:** | Name | Type | Required | Description | |------|------|----------|-------------| | `admin_key` | string | Yes | Administrative key for authentication | **Response:** - **200 OK** - Authentication successful, returns JSON with session token - **422 Validation Error** - Missing or invalid admin_key parameter --- #### GET `/logout` Terminate the current session and invalidate the session token. **Response:** - **200 OK** - Successfully logged out --- ### Key Management #### POST `/generate-key-ui` Generate a new API key for a client with specified expiration. **Parameters:** | Name | Type | Required | Description | |------|------|----------|-------------| | `client_name` | string | Yes | Unique identifier for the client or service requesting the key | | `expires_at` | string | Yes | ISO 8601 timestamp indicating key expiration (e.g., `2025-12-31T23:59:59Z`) | **Response:** - **200 OK** - Key successfully generated, returns API key details - **422 Validation Error** - Missing or malformed parameters --- #### GET `/get-random-key` Retrieve a randomly generated key from the system's key pool. **Response:** - **200 OK** - Returns a random API key object --- #### POST `/verify-key` Validate an API key and retrieve its metadata and status. **Parameters:** | Name | Type | Required | Description | |------|------|----------|-------------| | `api_key` | string | Yes | The API key to validate | **Response:** - **200 OK** - Key validation result with client name, expiration, and status --- #### POST `/revoke-key` Immediately revoke an active API key, preventing further use. **Parameters:** | Name | Type | Required | Description | |------|------|----------|-------------| | `api_key` | string | Yes | The API key to revoke | **Response:** - **200 OK** - Key successfully revoked - **422 Validation Error** - Missing or invalid api_key parameter --- ### Administrative & Diagnostic #### GET `/admin` Access the administrative dashboard for key management and system oversight. **Response:** - **200 OK** - HTML admin panel interface (text/html) --- #### GET `/debug-session` Retrieve current session information for debugging and audit purposes. **Response:** - **200 OK** - Session details in JSON format --- #### GET `/healthz` Health check endpoint for monitoring system availability and readiness. **Response:** - **200 OK** - System is operational --- ## Pricing | Plan | Calls/Day | Calls/Month | Price | |------|-----------|-------------|-------| | Free | 5 | 50 | Free | | Developer | 20 | 500 | $39/mo | | Professional | 200 | 5,000 | $99/mo | | Enterprise | 100,000 | 1,000,000 | $299/mo | ## About ToolWeb.in - 200+ security APIs, CISSP & CISM, platforms: Pay-per-run, API Gateway, MCP Server, OpenClaw, RapidAPI, YouTube. - [toolweb.in](https://toolweb.in) - [portal.toolweb.in](https://portal.toolweb.in) - [hub.toolweb.in](https://hub.toolweb.in) - [toolweb.in/openclaw/](https://toolweb.in/openclaw/) - [rapidapi.com/user/mkrishna477](https://rapidapi.com/user/mkrishna477) - [youtube.com/@toolweb-009](https://youtube.com/@toolweb-009) ## References - **Kong Route:** https://api.mkkpro.com/career/linproopt - **API Docs:** https://api.mkkpro.com:8100/docs

path: openapi.json
content: {
  "openapi": "3.1.0",
  "info": {
    "title": "Central Key Management System",
    "version": "0.1.0"
  },
  "paths": {
    "/login": {
      "get": {
        "summary": "Login Page",
        "operationId": "login_page_login_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "post": {
        "summary": "Login",
        "operationId": "login_login_post",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "$ref": "#/components/schemas/Body_login_login_post"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/logout": {
      "get": {
        "summary": "Logout",
        "operationId": "logout_logout_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/admin": {
      "get": {
        "summary": "Admin Panel",
        "operationId": "admin_panel_admin_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/generate-key-ui": {
      "post": {
        "summary": "Generate Key Ui",
        "operationId": "generate_key_ui_generate_key_ui_post",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "$ref": "#/components/schemas/Body_generate_key_ui_generate_key_ui_post"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/get-random-key": {
      "get": {
        "summary": "Get Random Key",
        "operationId": "get_random_key_get_random_key_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/verify-key": {
      "post": {
        "summary": "Verify Key",
        "operationId": "verify_key_verify_key_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/revoke-key": {
      "post": {
        "summary": "Revoke Key",
        "operationId": "revoke_key_revoke_key_post",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "$ref": "#/components/schemas/Body_revoke_key_revoke_key_post"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/debug-session": {
      "get": {
        "summary": "Debug Session",
        "operationId": "debug_session_debug_session_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/healthz": {
      "get": {
        "summary": "Health Check",
        "operationId": "health_check_healthz_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Body_generate_key_ui_generate_key_ui_post": {
        "properties": {
          "client_name": {
            "type": "string",
            "title": "Client Name"
          },
          "expires_at": {
            "type": "string",
            "title": "Expires At"
          }
        },
        "type": "object",
        "required": [
          "client_name",
          "expires_at"
        ],
        "title": "Body_generate_key_ui_generate_key_ui_post"
      },
      "Body_login_login_post": {
        "properties": {
          "admin_key": {
            "type": "string",
            "title": "Admin Key"
          }
        },
        "type": "object",
        "required": [
          "admin_key"
        ],
        "title": "Body_login_login_post"
      },
      "Body_revoke_key_revoke_key_post": {
        "properties": {
          "api_key": {
            "type": "string",
            "title": "Api Key"
          }
        },
        "type": "object",
        "required": [
          "api_key"
        ],
        "title": "Body_revoke_key_revoke_key_post"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      }
    }
  }
}

Security scan verdicts — ClawScan: suspicious | static analysis: clean | VirusTotal: clean | SkillSpector: suspicious (HIGH)