{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "securetron-gh-aifw--give-each-agent-own-identity",
 "repo": "securetron-gh/aifw",
 "repo_url": "https://github.com/securetron-gh/aifw",
 "repo_slug": "securetron-gh-aifw",
 "title": "Give each AI agent its own identity and API key",
 "page_title": "How to give each AI agent its own identity and API key with Aifw",
 "summary": "Register agents as identities with admin-issued API keys so their calls can be told apart.",
 "who": "A platform admin running several AI agents who needs each one authorized and traceable on its own.",
 "problem": "Agents sharing one key cannot be told apart in logs and cannot be limited or revoked individually.",
 "outcome": "Each agent has its own registered identity and admin-issued key, and its calls are traceable in the dashboard.",
 "steps": [
  "Run `docker compose up -d` in the folder that contains docker-compose.yml.",
  "Sign in as superadmin at http://localhost with the default login, then change the password.",
  "Open the agents section in the admin pages and register one agent identity per agent. (inferred, check the README)",
  "Issue an admin-issued API key for each registered agent from the API keys page. (inferred, check the README)",
  "Follow docs/tutorials/04-agent-self-enrollment.mdx if agents should enroll themselves instead."
 ],
 "agent_prompt": "In the securetron-gh/aifw repo, start the gateway with `docker compose up -d` and register <agent-name> as its own identity with its own API key. Report the agent identity and key name, and verify that a test call made with that key shows up under that agent in the dashboard.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "60 minutes",
 "basis": "readme",
 "caveat": "The README names the agent registry and admin-issued keys but does not show their exact admin steps, so the agent registration steps above are inferred from the docs layout.",
 "category": "Security and science",
 "tags": [
  "Security and science"
 ],
 "lang": "python",
 "requirements": [
  "Docker and Docker Compose on a host you control",
  "The repository cloned locally so docker-compose.yml is available",
  "API keys for the LLM backends you plan to register in the Model Inventory"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The README lists a default superadmin login, so change it before the gateway is reachable from any network, and store each agent key in a secret manager."
  }
 ],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/securetron-gh-aifw/give-each-agent-own-identity/",
 "md": "https://dedupedai.com/use-cases/securetron-gh-aifw/give-each-agent-own-identity/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/securetron-gh-aifw--give-each-agent-own-identity.json",
 "api_version": "v1"
}
