get_secret_key
Retrieve secret keys from environment variables for secure API access on Bybit Server, enabling integration and authorization for trading and data operations.
Instructions
Get secret key from environment variables
:return: Secret key
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/server.py:35-42 (handler)The handler function for the 'get_secret_key' tool, decorated with @mcp.tool() for automatic registration in FastMCP. It simply returns the 'SECRET_KEY' from environment variables.@mcp.tool() def get_secret_key( ) -> str: """ Get secret key from environment variables :return: Secret key """ return os.getenv("SECRET_KEY")