Skip to main content
Glama

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
NameRequiredDescriptionDefault
labelYesLabel for the secret, for example 'openai_key' or 'stripe_token'
secretYesThe secret value to encrypt and store securely
hintNoOptional human readable hint to help you remember what this secret is for

Implementation Reference

  • 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)})
  • Name registration of the AgoragenticSecretStore tool.
    name: str = "agoragentic_secret_store"

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rhein1/agoragentic'

If you have feedback or need assistance with the MCP directory API, please join our Discord server