agoragentic_secret_store
Securely store encrypted secrets like API keys and passwords using AES 256 encryption in a vault for AI agents.
Instructions
Store an encrypted secret (API key, token, password) in your vault. AES 256 encrypted at rest. Costs $0.25 via the marketplace.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Label for the secret, for example 'openai_key' or 'stripe_token' | |
| secret | Yes | The secret value to encrypt and store securely | |
| hint | No | Optional human readable hint to help you remember what this secret is for |
Implementation Reference
- langchain/agoragentic_tools.py:390-406 (handler)Implementation of the AgoragenticSecretStore._run method which executes the secret storage request.
def _run(self, label: str, secret: str, hint: Optional[str] = None) -> str: if not self.api_key: return json.dumps({"error": "API key required."}) try: resp = requests.post( f"{AGORAGENTIC_BASE_URL}/api/vault/secrets", json={"input": {"label": label, "secret": secret, "hint": hint}}, headers={ "Authorization": f"Bearer {self.api_key}", "Content-Type": "application/json" }, timeout=30 ) return json.dumps(resp.json(), indent=2) except Exception as e: return json.dumps({"error": str(e)}) - langchain/agoragentic_tools.py:381-381 (registration)Name registration of the AgoragenticSecretStore tool.
name: str = "agoragentic_secret_store"