<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by LumoAuth Engineering on Medium]]></title>
        <description><![CDATA[Stories by LumoAuth Engineering on Medium]]></description>
        <link>https://medium.com/@lumoauth?source=rss-b2b93d86dc41------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*XLzQxJ6Xc-Eqjc5m</url>
            <title>Stories by LumoAuth Engineering on Medium</title>
            <link>https://medium.com/@lumoauth?source=rss-b2b93d86dc41------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 02:42:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lumoauth/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Lumo Authenticator is now on the App Store and Google Play]]></title>
            <link>https://medium.com/@lumoauth/lumo-authenticator-is-now-on-the-app-store-and-google-play-bb134774839f?source=rss-b2b93d86dc41------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb134774839f</guid>
            <category><![CDATA[identity-management]]></category>
            <category><![CDATA[push-authentication]]></category>
            <category><![CDATA[passwordless-login]]></category>
            <category><![CDATA[passwordless]]></category>
            <category><![CDATA[authentication]]></category>
            <dc:creator><![CDATA[LumoAuth Engineering]]></dc:creator>
            <pubDate>Thu, 03 Dec 2026 17:09:00 GMT</pubDate>
            <atom:updated>2026-12-03T17:09:00.555Z</atom:updated>
            <content:encoded><![CDATA[<p>Approve sign-ins and AI agent actions from your phone. Lumo Authenticator for iPhone and Android is out now, with passwordless push sign-in, number matching, signed approvals and an encrypted backup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AbKQYddvZQgMtTfD.jpg" /></figure><p>Lumo Authenticator, the LumoAuth app for iPhone and Android, is now available on the Apple App Store and on Google Play. With the app, people approve two kinds of requests on their phone. The first is a sign-in: a person types an email address, taps the matching number on the phone, and is signed in without a password. The second is an action that an AI agent wants to take for that person, such as a payment. The agent waits until the person approves or denies it. The app signs each answer with a key on the phone, so LumoAuth can check where the answer came from.</p><p><a href="https://apps.apple.com/us/app/lumo-authenticator/id6831480979">Download from the Apple AppStore</a></p><p><a href="https://play.google.com/store/apps/details?id=io.lumoauth.push_auth">Download from the Google PlayStore</a></p><h3>TL;DR</h3><ul><li>Lumo Authenticator is out now: for iPhone on the <a href="https://apps.apple.com/us/app/lumo-authenticator/id6831480979">App Store</a> and for Android on <a href="https://play.google.com/store/apps/details?id=io.lumoauth.push_auth">Google Play</a>. Sign-in pages and account settings in LumoAuth call it the <strong>LumoAuth app</strong>.</li><li><strong>Agent approvals:</strong> an AI agent can ask a person before it acts. The phone shows the agent, the action, its impact and the person for whom the agent acts. One tap approves or denies.</li><li><strong>Passwordless sign-in:</strong> type your email, tap the number from the sign-in page on your phone, and confirm with Face ID, a fingerprint or your passcode. Number matching is always on.</li><li><strong>Signed answers:</strong> the phone signs every approval and every denial with its own key. Each signature is good for one request only, so a copied answer does not work a second time.</li><li><strong>Encrypted backup:</strong> the app can keep an encrypted copy of your accounts in iCloud or Google Drive, protected by a PIN. On a new phone, enter the PIN to restore it.</li><li>The app also shows six-digit codes for other services that support authenticator apps.</li></ul><h3>What is Lumo Authenticator?</h3><p>Lumo Authenticator is the phone app for LumoAuth, the identity platform for people and AI agents. You install it once and connect it to your account in each organization that uses LumoAuth. After that, sign-in requests and agent requests for those accounts arrive as notifications.</p><p>The app has two tabs. <strong>Approvals</strong> lists waiting requests, the organizations that you connected and your recent sign-ins. <strong>Codes</strong> lists six-digit codes, both for your LumoAuth accounts and for other services.</p><h3>How does an AI agent ask for your approval?</h3><p>AI agents now pay invoices, send email, book travel and change production systems for the people who use them. Some of these actions cannot be undone. With a policy, you can limit what an agent may do in general. A policy cannot tell you whether this payment, right now, is one that the person wants. So for those moments, the agent asks the person.</p><p>The agent sends one request to LumoAuth, and LumoAuth sends a notification to the person’s phone. The agent waits for the answer and continues only after an approval. A denial, or no answer before the request expires, stops the action.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*ycuCYCtUHYXwqSCsUZUa4g.png" /></figure><p>What the person sees</p><ul><li><strong>The agent:</strong> its name and its ID, here Financial Analyst and agt_419325c4c366bad1.</li><li><strong>The action</strong>, in the words that the agent sent: “Wire $4,500 to vendor INV-7741”.</li><li><strong>The impact level:</strong> low, medium, high or critical, each in its own colour.</li><li><strong>The person</strong> for whom the agent acts, and the organization.</li><li><strong>Extra details</strong> from the agent, such as the amount and the vendor, one per row.</li><li><strong>A countdown.</strong> The request expires after two minutes.</li></ul><p>In code, the request is one call. Here it is with the Python SDK. The JavaScript SDK has the same call as agent.approvals.require().</p><pre>from lumoauth import LumoAuthAgent, require_approval<br><br>agent = LumoAuthAgent()<br>agent.authenticate()<br><br>result = require_approval(<br>    agent,<br>    task_id=&quot;wire-001&quot;,<br>    reason=&quot;Wire $4,500 to vendor INV-7741&quot;,<br>    impact=&quot;high&quot;,<br>    on_behalf_of=&quot;ada@acme.com&quot;,<br>    meta={&quot;amount&quot;: 4500, &quot;vendor&quot;: &quot;INV-7741&quot;},<br>)<br>if result.status != &quot;approved&quot;:<br>    raise RuntimeError(f&quot;denied: {result.status} ({result.reason})&quot;)<br><br>send_wire(amount=4500, vendor=&quot;INV-7741&quot;)  # runs only after a yes</pre><p>A few rules apply to agent approvals:</p><ul><li>The agent needs <strong>May act on behalf of users</strong> turned on. Otherwise, LumoAuth answers 403 with delegation_not_permitted.</li><li>The person needs the app connected to their account. Otherwise, LumoAuth answers 428 with no_enrolled_device.</li><li>One agent can send at most 10 requests to one person in five minutes. With this limit, a faulty agent cannot flood a person with notifications.</li><li>Each request belongs to the agent that created it, and only that agent can read the answer.</li></ul><p>The same app also handles two related requests from agents. With <a href="https://docs.lumoauth.dev/agents/jit">just-in-time permissions</a>, an agent asks for short-lived access, and a person approves it on the phone. With <a href="https://docs.lumoauth.dev/agents/async-authorization">agent CIBA</a>, an agent asks for a token through the OpenID Connect backchannel, and the person approves on the phone. CIBA stands for Client-Initiated Backchannel Authentication.</p><h3>How does passwordless sign-in with push work?<a href="https://blog.lumoauth.dev/announcements/lumo-authenticator-app-store-google-play/#how-does-passwordless-sign-in-with-push-work">#</a></h3><p>Push sign-in replaces the password with a tap on a phone that the person already holds. Here are the steps:</p><ol><li>On the sign-in page, the person types their email address and chooses <strong>Approve via mobile app</strong>.</li><li>A notification arrives on the phone, on the lock screen too.</li><li>The sign-in page shows a two-digit number. The app shows three numbers, and the person taps the one that matches.</li><li>The app asks for Face ID, a fingerprint or the phone’s passcode.</li><li>The sign-in page continues on its own.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IHCKoGIQkU4Ibp4vmpoI2A.png" /><figcaption>Left: the sign-in request on the lock screen. Right: the request in the app, with three numbers and the details of the sign-in.</figcaption></figure><p>Before the tap, the screen shows the organization, the account, the time, and the browser and operating system of the sign-in. When a location is available, the screen shows it as an approximate place.</p><p><strong>Why number matching?</strong> An attacker who has a password can start sign-in after sign-in, until the victim taps Approve to end the notifications. This attack is called MFA fatigue. With number matching, a tap is not enough. The number appears only on the attacker’s screen, so the victim has nothing to match. Number matching is always on, for every sign-in.</p><p>If you did not start a sign-in, tap <strong>Deny — this wasn’t me</strong>. LumoAuth denies the request and emails you about the blocked attempt. It also records the report in the audit log, with the IP address and the location of the attempt, and sends it to the organization’s webhooks. LumoAuth also limits pushes to three per person in five minutes. Two denials within ten minutes pause push for that person for 30 minutes.</p><p>Push is not only for passwordless sign-in. An organization can also use it as the second step after a password, or as a step-up check before a sensitive action. When the phone has no network connection, the app still shows a six-digit code for each connected account. The page for two-step verification accepts this code instead of a push.</p><h3>What stops someone from faking an approval?<a href="https://blog.lumoauth.dev/announcements/lumo-authenticator-app-store-google-play/#what-stops-someone-from-faking-an-approval">#</a></h3><p>An approval is worth only as much as the checks behind it. Here is what protects each answer:</p><ul><li><strong>Connecting a phone starts from your account.</strong> You start it from <strong>Sign-in &amp; security</strong> while you are signed in, or your administrator sends you an activation code. Each QR code and each activation code works only once, and only for a short time.</li><li><strong>A new phone proves itself first.</strong> The phone can approve requests only after you approve a test notification on it.</li><li><strong>The phone signs every answer.</strong> During setup, the phone creates its own key. LumoAuth accepts an approval or a denial only with a valid signature from the phone that received the request. Each signature is good for one request, so a copied answer does not work a second time.</li><li><strong>An approval finishes only the sign-in that asked for it.</strong> Nobody can use your approval to complete a sign-in in another browser.</li><li><strong>You confirm each sign-in with Face ID, a fingerprint or the passcode.</strong> A tap alone does not approve a sign-in, even on an unlocked phone.</li></ul><h3>What happens when you get a new phone?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DP1JPD6-IfdXJ5hdFo7ESg.png" /></figure><p>On the new phone, install Lumo Authenticator, use the same iCloud or Google account, and enter your PIN. The app restores your codes and your organization connections. It then tells LumoAuth to send notifications to the new phone. You can also export the encrypted backup as a file and import it on another phone.</p><p>No backup? Connect the new phone from <strong>Sign-in &amp; security</strong>, and then remove the old one. If you lost the phone, sign in with another method or a recovery code, and remove the phone there. An administrator can also remove a lost phone and give you a temporary access code.</p><h3>What else is in the app?<a href="https://blog.lumoauth.dev/announcements/lumo-authenticator-app-store-google-play/#what-else-is-in-the-app">#</a></h3><ul><li><strong>Codes for other services.</strong> Scan the QR code from any service that supports authenticator apps, and the app shows its time-based codes. Tap a code to copy it, or search by service or account.</li><li><strong>Several organizations.</strong> Connect your accounts from every organization that uses LumoAuth. Each request names its organization.</li><li><strong>Sign-in history.</strong> The Approvals tab keeps a list of recent requests and your answers.</li></ul><h3>How do you get started?<a href="https://blog.lumoauth.dev/announcements/lumo-authenticator-app-store-google-play/#how-do-you-get-started">#</a></h3><p><strong>If you sign in to an organization that uses LumoAuth:</strong></p><ol><li>Install Lumo Authenticator from the <a href="https://apps.apple.com/us/app/lumo-authenticator/id6831480979">App Store</a> or <a href="https://play.google.com/store/apps/details?id=io.lumoauth.push_auth">Google Play</a>.</li><li>In your account, open <strong>Sign-in &amp; security</strong>, choose <strong>Add a sign-in method</strong>, and then <strong>LumoAuth app</strong>.</li><li>Scan the QR code with the app, or type the activation code.</li><li>Approve the test notification on your phone.</li><li>In the app, open the organization and turn on <strong>Require biometrics</strong>. In the app’s settings, turn on <strong>App lock</strong> too.</li></ol><p><strong>If you run an organization:</strong> push is one of the allowed factors in the MFA policy by default. To require it for everyone, turn on <strong>Require push authentication</strong> under <strong>Security → Sign-in settings</strong>. In the same section, <strong>Name shown in push notifications</strong> sets the name that people see on their phones, for example your product’s name. To help someone set up their phone, open the user and choose <strong>Send activation code</strong>. The <a href="https://docs.lumoauth.dev/user-guide/authentication/push-auth">guide to push authentication</a> lists every setting.</p><p><strong>If you build agents:</strong> call require_approval in Python, or agent.approvals.require() in JavaScript, before any action that needs a person’s yes. The guide to <a href="https://docs.lumoauth.dev/agents/push-approval">push approval for agent actions</a> has the full setup.</p><p><a href="https://apps.apple.com/us/app/lumo-authenticator/id6831480979">Download on the Apple AppStore</a></p><p><a href="https://play.google.com/store/apps/details?id=io.lumoauth.push_auth">Download on the Google PlayStore</a></p><h3>FAQ</h3><p><strong>Where can I download Lumo Authenticator?</strong> Lumo Authenticator for iPhone is on the <a href="https://apps.apple.com/us/app/lumo-authenticator/id6831480979">Apple App Store</a>, and Lumo Authenticator for Android is on <a href="https://play.google.com/store/apps/details?id=io.lumoauth.push_auth">Google Play</a>. You can also search the store for Lumo Authenticator.</p><p><strong>Is Lumo Authenticator the same app as the LumoAuth app?</strong> Yes. Lumo Authenticator is the name in the App Store and on Google Play. Sign-in pages and account settings in LumoAuth call it the LumoAuth app.</p><p><strong>Do agent approvals use number matching?</strong> No. Number matching compares the phone with a sign-in page, and an agent’s request has no sign-in page. Instead, the phone shows the action itself, the agent that asks, the person for whom it acts and the impact level. Read the action before you tap <strong>Approve</strong>.</p><p><strong>What happens if I lose my phone?</strong> Sign in with another method or a recovery code, and remove the lost phone under <strong>Sign-in &amp; security</strong>. If you turned on backup, install the app on the new phone and restore the backup with your PIN. An administrator can also remove the phone and give you a temporary access code.</p><p><strong>Does the app work without a network connection?</strong> Partly. Push notifications need a connection. Without one, the app still shows a six-digit code for each connected account. The page for two-step verification accepts that code instead of a push. Codes for other services work offline too.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb134774839f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Agent API keys that expire: agk_ keys, rotation and the 180-day rule]]></title>
            <link>https://medium.com/@lumoauth/agent-api-keys-that-expire-agk-keys-rotation-and-the-180-day-rule-105ed162eb2a?source=rss-b2b93d86dc41------2</link>
            <guid isPermaLink="false">https://medium.com/p/105ed162eb2a</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[agentic-security]]></category>
            <category><![CDATA[identity-and-access]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[LumoAuth Engineering]]></dc:creator>
            <pubDate>Wed, 02 Dec 2026 17:38:37 GMT</pubDate>
            <atom:updated>2026-12-02T17:38:37.800Z</atom:updated>
            <content:encoded><![CDATA[<p>An agk_ API key lets an AI agent call LumoAuth with a single string. Here is how long a key lasts, why it expires, how to rotate it without downtime, and what to do when a key leaks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-G4A68RPr-pXXIEg" /><figcaption>Photo by <a href="https://unsplash.com/@contradirony?utm_source=medium&amp;utm_medium=referral">Samantha Lam</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>An AI agent’s API key in LumoAuth starts with agk_, and the agent sends it as a bearer token. LumoAuth shows the key once and stores only its SHA-256 hash. A new key expires after 180 days unless you choose another lifetime, in the portal or through the Admin API. To rotate a key, use the agent’s edit page or the Admin API, and pick the new key’s lifetime as you rotate. LumoAuth returns a new key and rejects the old one from that moment. Store the new key in the same step.</p><h3>TL;DR</h3><ul><li>An agk_ key is a bearer credential: whoever holds the string can act as the agent. LumoAuth stores only a SHA-256 hash, so it can show the key only once.</li><li>A new key expires after 180 days, unless you choose 30, 90 or 365 days, a date, or <em>never</em>. You choose in the portal or through the Admin API. After that date, LumoAuth answers every call that uses the key with 401.</li><li>Rotation replaces the key at once. The old key stops working in the same moment, so there is no period in which both keys are valid.</li><li>You choose the new key’s lifetime when you rotate: 180 days by default in the portal, or apiKeyExpiresInDays with the Admin API call.</li><li>The agent’s page warns 14 days before the key expires. The audit log records every rotation, every revocation and every change of lifetime.</li></ul><h3>What is an agent API key?</h3><p>An agent API key is a secret string for one AI agent. It has the prefix agk_, followed by 64 hexadecimal characters from a random 256-bit value. The agent sends the key in the Authorization header, like an OAuth access token:</p><pre>ORG=acme-corp<br>curl -sS &quot;https://app.lumoauth.dev/orgs/$ORG/api/v1/agents/me&quot; \<br>  -H &quot;Authorization: Bearer $AGENT_API_KEY&quot;</pre><p>Only agents with the identity type api_key get one. The key itself is the credential. No client ID or second secret goes with it. LumoAuth uses three prefixes that are easy to confuse, so check which one you hold:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o2GRbTt_YUQmIaZIgTzhVQ.png" /></figure><p>An agk_ key works only on APIs that are built for agents. Examples are the agent’s own identity and the Ask API (/agents/…), just-in-time permissions (/jit/…) and authorization checks (/api/v1/authz/check). LumoAuth rejects the key on the portal, on the account pages and on the routes where people approve just-in-time requests. Someone who holds a leaked key therefore cannot use it to sign in to the portal or to approve a just-in-time request.</p><p>Each successful call with the key also updates the agent’s <em>last used</em> time, at most once every five minutes. Dormancy rules and the agent’s risk score use that time.</p><h3>Why does an agent’s API key need to expire?</h3><p>An API key is one string, and copies of it end up in many places: environment variables, CI logs, shell history and other people’s laptops. An agent adds one more place, which is its own context. Suppose that the key is stored in an environment variable and the agent can run shell commands. An attacker can then use prompt injection to make the agent print the key.</p><p>LumoAuth stores only a SHA-256 hash of the key. Someone who reads the database cannot recover the key from the hash. For the same reason, LumoAuth cannot show the key again after it issues it. If you lose the key, rotate it.</p><p>An expiry limits how long a copy of the key stays useful. Without one, a key that leaked into a log two years ago still works today. With the default lifetime, a copied key stops working within 180 days, even if nobody notices the leak. LumoAuth also flags a client secret as old after 180 days, so both kinds of shared secret follow the same schedule.</p><h3>How long does a key last, and how do you choose?</h3><p>You choose the lifetime when you register the agent, and you can change it later. Both places offer the same choices:</p><ul><li><strong>In the portal</strong>, go to <strong>Agents</strong> and choose <strong>Register agent</strong>. In step 2, <strong>How it proves its identity</strong>, choose <strong>API key</strong>. The field <strong>Key expires after</strong> appears below the cards.</li><li><strong>In the Admin API</strong>, send apiKeyExpiresInDays or apiKeyExpiresAt when you create the agent.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ts-Mv-vmyeC63MrK00I6wg.png" /></figure><p>The Admin API accepts any whole number of days from 1 to 3,650 in apiKeyExpiresInDays. apiKeyExpiresAt takes an ISO 8601 time in the future. Send either field as null for a key that never expires. <em>Never</em> is a choice that you have to make on purpose, and the agent’s page shows a warning for it.</p><p>To register an agent with a 90-day key, call the Admin API with an organization API key that has the admin:agents:write scope:</p><pre>ORG=acme-corp<br>curl -sS -X POST &quot;https://app.lumoauth.dev/orgs/$ORG/api/v1/admin/agents&quot; \<br>  -H &quot;Authorization: ApiKey $LUMOAUTH_API_KEY&quot; \<br>  -H &#39;Content-Type: application/json&#39; \<br>  -d &#39;{<br>        &quot;name&quot;: &quot;Support triage prototype&quot;,<br>        &quot;identityType&quot;: &quot;api_key&quot;,<br>        &quot;capabilities&quot;: [&quot;tickets:read&quot;, &quot;tickets:reply&quot;],<br>        &quot;apiKeyExpiresInDays&quot;: 90<br>      }&#39;</pre><p>The response holds the key in apiKey. This response is the only place where the key appears. Here it is, trimmed to the fields about the key:</p><pre>{<br>  &quot;data&quot;: {<br>    &quot;agentId&quot;: &quot;agt_3f9a51c07be24d18&quot;,<br>    &quot;identityType&quot;: &quot;api_key&quot;,<br>    &quot;status&quot;: &quot;active&quot;,<br>    &quot;apiKeyExpiresAt&quot;: &quot;2027-02-06T10:14:03+00:00&quot;,<br>    &quot;apiKeyExpired&quot;: false,<br>    &quot;apiKey&quot;: &quot;agk_6d2c…&quot;,<br>    &quot;_note&quot;: &quot;Store the API key securely. It will not be shown again.&quot;<br>  },<br>  &quot;message&quot;: &quot;Agent created successfully&quot;<br>}</pre><p>To change the lifetime later, open the agent’s edit page and use <strong>Key expires after</strong> in the <strong>Credentials</strong> section, or send PATCH /admin/agents/{agentId} with one of the two fields. The new lifetime counts from the moment that you save it. A change of lifetime does not issue a new key. It applies to the current key, even to a key that has already expired. That change makes the old key valid again, so rotate the key instead if it may have leaked.</p><h3>What happens when a key expires?<a href="https://blog.lumoauth.dev/ai-agent-identity/rotate-ai-agent-api-key/#what-happens-when-a-key-expires">#</a></h3><p>LumoAuth rejects every call with the key:</p><pre>HTTP/1.1 401 Unauthorized<br>WWW-Authenticate: Bearer realm=&quot;API&quot;, error=&quot;invalid_token&quot;<br>Content-Type: application/json<br><br>{&quot;error&quot;: &quot;invalid_token&quot;, &quot;error_description&quot;: &quot;The access token is invalid or expired&quot;}</pre><p>The response is the same as for a key that never existed, so it does not show whether the key once worked.</p><p>Nothing else changes. The agent stays active, and it keeps its capabilities, budget and history. Its page shows a critical item, <strong>API key has expired</strong>, and the fix is to rotate the key. The posture card on the agent’s page has one line for the key’s expiry, and one for its age:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GaeXhouKRY5l4tetRaY8SA.png" /></figure><p>The portal rates the API key identity type itself as a warning. Every API key agent therefore appears under the <strong>Needs attention</strong> filter in the agent list. Open an agent to see which lines apply to it.</p><h3>How do you rotate an agent’s API key?</h3><p>Rotation issues a new key and replaces the stored hash in one step. The old key stops working at that moment. You choose the new key’s lifetime as you rotate.</p><p><strong>In the portal</strong>, open the agent’s edit page. Under <strong>Rotate the API key</strong> in the <strong>Credentials</strong> section, pick <strong>New key expires after</strong>. It offers the same choices as at registration, with <strong>180 days — recommended</strong> selected. <strong>Same as the current key</strong> keeps the old date. Then choose <strong>Rotate API key</strong> and confirm. The next page shows the new key once, with its expiry date.</p><p><strong>From a script</strong>, use the Admin API. An agent has one API key at a time, so plan the switch:</p><ol><li><strong>Check the current key.</strong> GET /admin/agents/{agentId} returns apiKeyExpiresAt, apiKeyExpired and credentialsRotatedAt.</li><li><strong>Rotate, with a lifetime.</strong> POST /admin/agents/{agentId}/rotate-credentials with apiKeyExpiresInDays in the body returns the new key once, with its expiry date.</li><li><strong>Store the new key in the same script</strong>, before anything can print it or log it.</li><li><strong>Check the new key.</strong> GET /agents/me with the new key should answer 200.</li></ol><p>Send the lifetime in step 2. Without it, the new key keeps the old expiry date. Suppose that you rotate a 180-day key on day 170 without a lifetime: the new key expires 10 days later, on the old date. Only a key whose date has already passed gets a full 180 days by default.</p><p>A new key carries the agent’s authority, so the rule for registration applies here too. You can rotate a key only if you hold every catalogue permission among the agent’s capabilities. The <a href="https://blog.lumoauth.dev/ai-agent-identity/ai-agent-least-privilege-capabilities/">previous post on capabilities</a> explains this rule, called creator containment.</p><p>This script rotates a key with a 90-day lifetime and stores it in AWS Secrets Manager. It keeps the key in a shell variable and never prints it:</p><pre>set -euo pipefail<br>ORG=acme-corp<br>AGENT_ID=agt_3f9a51c07be24d18<br>ADMIN=&quot;https://app.lumoauth.dev/orgs/$ORG/api/v1/admin/agents/$AGENT_ID&quot;<br><br># 1. Rotate with a 90-day lifetime. The new key appears only in this response.<br>NEW_KEY=$(curl -sSf -X POST &quot;$ADMIN/rotate-credentials&quot; \<br>  -H &quot;Authorization: ApiKey $LUMOAUTH_API_KEY&quot; \<br>  -H &#39;Content-Type: application/json&#39; \<br>  -d &#39;{&quot;apiKeyExpiresInDays&quot;: 90}&#39; | jq -r &#39;.data.apiKey&#39;)<br><br># 2. Store it before anything else happens.<br>aws secretsmanager put-secret-value \<br>  --secret-id support-agent/lumoauth-key \<br>  --secret-string &quot;$NEW_KEY&quot; &gt; /dev/null<br><br># 3. Check that the new key works. Prints 200.<br>curl -sSf -o /dev/null -w &#39;%{http_code}\n&#39; \<br>  &quot;https://app.lumoauth.dev/orgs/$ORG/api/v1/agents/me&quot; \<br>  -H &quot;Authorization: Bearer $NEW_KEY&quot;</pre><p>POST /admin/agents/{agentId}/rotate-key also issues a new key, for API key agents only, and takes the same lifetime fields. It returns the key in api_key and the expiry date in api_key_expires_at. The LumoAuth CLI rotates with a lifetime too: lumo agents rotate-credentials &lt;agent-id&gt; --key-expires-in-days 90. It also takes --key-expires-at with a date, or --key-never-expires.</p><h3>How do you rotate a key without downtime?</h3><p>The old key stops working when you rotate, and the agent still holds it until it loads the new one. Two patterns keep that gap short:</p><ul><li><strong>Read the key again after a </strong><strong>401.</strong> The agent reads its key from the secret store when it starts, and again whenever LumoAuth answers 401. Then it retries the call once. The gap shrinks to one failed call.</li><li><strong>Rotate during a deploy.</strong> If every deploy starts new agent processes, rotate just before the deploy. The new processes start with the new key.</li></ul><p>Here is the first pattern in Python, for an agent that reads its key from AWS Secrets Manager and calls the Ask API:</p><pre>import boto3<br>import requests<br><br>ORG = &quot;acme-corp&quot;<br>BASE = f&quot;https://app.lumoauth.dev/orgs/{ORG}/api/v1&quot;<br>SECRET_ID = &quot;support-agent/lumoauth-key&quot;<br>secrets = boto3.client(&quot;secretsmanager&quot;)<br><br><br>def load_key() -&gt; str:<br>    return secrets.get_secret_value(SecretId=SECRET_ID)[&quot;SecretString&quot;]<br><br><br>class AgentClient:<br>    def __init__(self) -&gt; None:<br>        self.key = load_key()<br><br>    def post(self, path: str, body: dict) -&gt; requests.Response:<br>        resp = self._send(path, body)<br>        if resp.status_code == 401:<br>            # The key may have been rotated: read the current key and retry once.<br>            self.key = load_key()<br>            resp = self._send(path, body)<br>        return resp<br><br>    def _send(self, path: str, body: dict) -&gt; requests.Response:<br>        return requests.post(<br>            f&quot;{BASE}{path}&quot;,<br>            json=body,<br>            headers={&quot;Authorization&quot;: f&quot;Bearer {self.key}&quot;},<br>            timeout=10,<br>        )<br><br><br>agent = AgentClient()<br>decision = agent.post(&quot;/agents/ask&quot;, {&quot;action&quot;: &quot;tickets:reply&quot;, &quot;context&quot;: {&quot;ticket&quot;: &quot;T-1042&quot;}})<br>print(decision.json()[&quot;allowed&quot;])</pre><p>Do you need two valid credentials during a switch? Then an API key is the wrong identity type. A <a href="https://docs.lumoauth.dev/agents/private-key-jwt">private key JWT</a> agent can register several public keys. You add the new key, move the agent over, and then remove the old key. The identity type is fixed after registration, so moving to another type requires a new agent. The post on <a href="https://blog.lumoauth.dev/ai-agent-identity/ai-agent-authentication-methods/">six ways an AI agent can prove who it is</a> compares the types.</p><h3>What should you do when a key leaks?</h3><p>Rotation stops the leaked key. However, someone may already have used the key to obtain short-lived tokens, such as just-in-time tokens. Suspend the agent first, so that those tokens stop working too:</p><ol><li><strong>Suspend the agent</strong> with POST /admin/agents/{agentId}/disable. LumoAuth rejects the key at once. It also revokes the tokens and grants that the agent holds, and sends a CAEP session-revoked event to your shared signals streams. Suspension also revokes the agent’s vault grants, so users who connected accounts for the agent must connect them again.</li><li><strong>Rotate the key</strong> with POST /admin/agents/{agentId}/rotate-credentials, and store the new key.</li><li><strong>Read the audit log</strong> for the agent. Start from the earliest time when the key could have leaked, and look for calls that the agent would not make. Entries that the agent caused name it as the actor.</li><li><strong>Reactivate the agent</strong> with POST /admin/agents/{agentId}/enable. Reactivation restores nothing that the suspension revoked. The agent obtains new tokens with its new key.</li></ol><p>Is the agent not needed for a while? Then POST /admin/agents/{agentId}/revoke-key removes the key without a replacement. The agent cannot authenticate with a key until you rotate again.</p><h3>How LumoAuth does it</h3><p>In the Organization Portal, go to <strong>Agents</strong> (/portal/agents) and choose <strong>Register agent</strong>. In step 2, <strong>How it proves its identity</strong>, choose <strong>API key</strong>. The field <strong>Key expires after</strong> appears, with <strong>180 days — recommended</strong> selected. After registration, the next page shows the key once, with a <strong>Copy</strong> button and the expiry date.</p><p>The agent’s page has an <strong>Authentication credential</strong> section. It shows whether a key is issued and when the credentials were last rotated. On the edit page, the <strong>Credentials</strong> section holds <strong>Key expires after</strong> for the current key, with <strong>Keep as is</strong> selected. Below it, <strong>Rotate the API key</strong> offers <strong>New key expires after</strong> and the <strong>Rotate API key</strong> button. The portal asks you to confirm your sign-in before it rotates the key, then shows the new key once. The posture card on the agent’s page shows the lines from the table above.</p><p>From a script, registration, lifetime changes, rotation, revocation and suspension use the Admin API, with an organization API key that has the admin:agents:write scope. The caller also needs the agents.edit permission. LumoAuth records each step in the audit log:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LByjWeEhi3z1DKSO64AP_w.png" /></figure><p>The <a href="https://docs.lumoauth.dev/agents/registry">docs for the agent registry</a> cover key expiry and the Admin API fields. The <a href="https://docs.lumoauth.dev/api-reference/authentication">API authentication reference</a> lists the routes that accept an agk_ key. The <a href="https://docs.lumoauth.dev/agents/governance">governance docs</a> describe everything that a suspension revokes. This series starts with <a href="https://blog.lumoauth.dev/ai-agent-identity/what-is-ai-agent-identity/">What is an AI agent identity?</a></p><h3>Standards involved</h3><ul><li>Bearer token usage, <a href="https://www.rfc-editor.org/rfc/rfc6750">RFC 6750</a>, for sending the key in the Authorization header</li><li>OpenID Shared Signals Framework and the Continuous Access Evaluation Profile (CAEP), for the session-revoked event that a suspension sends</li></ul><p>The full list is on the <a href="https://docs.lumoauth.dev/reference/standards">standards reference</a>.</p><h3>FAQ</h3><p><strong>How long does an AI agent’s API key last in LumoAuth?</strong> 180 days, unless you choose otherwise. In the portal, <strong>Key expires after</strong> offers 30, 90, 180 or 365 days, a date that you pick, or never, when you register the agent and on its edit page. The Admin API accepts any number of days from 1 to 3,650, an ISO 8601 time, or null for a key that never expires.</p><p><strong>Does rotating an agent’s API key reset its expiry?</strong> You choose. In the portal, <strong>New key expires after</strong> is set to 180 days by default, and <strong>Same as the current key</strong> keeps the old date. In the Admin API, send apiKeyExpiresInDays with the rotation. Without it, the new key keeps the old date, unless that date has passed; then it gets 180 days.</p><p><strong>Can an agent have two valid API keys during a rotation?</strong> No. An agent has one API key at a time, and rotation replaces it at once. To keep the gap short, let the agent read its key again after a 401. If you need two valid credentials during a switch, use a private key JWT agent, which can register several public keys.</p><p><strong>I lost an agent’s API key. Can I see it again?</strong> No. LumoAuth stores only a SHA-256 hash of the key, so nobody can display it again, including LumoAuth. Rotate the key to get a new one.</p><p><strong>Does an expired key suspend the agent?</strong> No. The agent stays active, with its capabilities, budget and history. Only calls with the expired key are rejected. Rotate the key, and the agent works again with the new one.</p><p>Originally published at <a href="https://blog.lumoauth.dev/ai-agent-identity/rotate-ai-agent-api-key/">https://blog.lumoauth.dev/ai-agent-identity/rotate-ai-agent-api-key/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=105ed162eb2a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Capabilities, not scopes: how LumoAuth bounds what an agent may do]]></title>
            <link>https://medium.com/@lumoauth/capabilities-not-scopes-how-lumoauth-bounds-what-an-agent-may-do-cae0aa59d84b?source=rss-b2b93d86dc41------2</link>
            <guid isPermaLink="false">https://medium.com/p/cae0aa59d84b</guid>
            <category><![CDATA[identity-management]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai-agent-security]]></category>
            <category><![CDATA[identity-and-access]]></category>
            <category><![CDATA[oauth2]]></category>
            <dc:creator><![CDATA[LumoAuth Engineering]]></dc:creator>
            <pubDate>Tue, 01 Dec 2026 16:29:49 GMT</pubDate>
            <atom:updated>2026-12-01T16:29:49.350Z</atom:updated>
            <content:encoded><![CDATA[<p>An AI agent’s capabilities are the actions that it may ever perform. Here is how capabilities differ from OAuth scopes, how LumoAuth stores and matches them, how wildcards work, and why nobody can grant an agent more than they hold.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*U5QraGRkQMInwkwq" /><figcaption>Photo by <a href="https://unsplash.com/@landb?utm_source=medium&amp;utm_medium=referral">Branko Stancevic</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Least privilege for an AI agent starts with a capability list: the actions that the agent may ever perform, written as names such as invoices:read. An OAuth scope only describes the access in one token. A capability list is stored on the agent’s record, and it limits every token, check and approval for that agent. In LumoAuth, capabilities are stored in one standard form, and * and prefix:* are the only wildcards. Nobody can grant an agent a permission that they do not hold themselves.</p><h3>TL;DR</h3><ul><li>A capability names one action, such as invoices:read. An agent’s tokens carry a subset of its capabilities as their scope, never more.</li><li>LumoAuth stores every capability in lower case, with : between the parts. Invoices:Read and invoices:read are one capability, and invoices-read is another. LumoAuth rejects invoices.read: write invoices:read.</li><li>There are two wildcards. invoices:* covers every current and future action under invoices. A bare * covers everything, and nobody in your organization can grant it.</li><li>You cannot give an agent a LumoAuth permission that you do not hold, either by name or through a wildcard.</li><li>A just-in-time request outside the agent’s capabilities always goes to a person. Removing a capability revokes the agent’s live access tokens.</li></ul><h3>What is the difference between a scope and a capability?</h3><p>OAuth scopes were designed for one situation: a person lets an app use their account. The app asks for scopes such as profile or calendar, the person agrees on a consent screen, and the token carries what was granted. A scope describes one grant. It does not limit what the app may ask for next time.</p><p>An AI agent needs a second layer. It chooses its next action at runtime, often after reading text that someone else wrote. Before the agent asks for anything, a person must set what it may ever do. That setting is the capability list.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EEeND-vZ_v-qZQ_u_5APGA.png" /></figure><p>The two layers work together. An agent can ask for a token with only some of its capabilities in scope, for example to do one task. LumoAuth never issues an agent token with a scope outside the capability list. If the request names no scope, the token carries every capability. A token can therefore be narrower than its agent, but never wider.</p><h3>Why do AI agents need least privilege?</h3><p>Least privilege means that each principal holds only the access that its job needs. The rule matters more for agents than for people, because of prompt injection.</p><p>An agent reads support tickets, web pages and documents. Any of them can contain instructions, and the agent may follow them. If the agent holds users:delete, an attacker needs only the right sentence in a ticket. If the agent holds tickets:read and tickets:reply, the same sentence produces a refused request and an entry in the audit log.</p><p>A capability list also turns a vague question, “what should this agent do?”, into a short list that a reviewer can read. Every later check compares against that same list: the token endpoint, the Ask API and just-in-time requests.</p><h3>What does a capability look like?</h3><p>A capability is a name in the form resource:action, such as invoices:read or tickets:reply. Names can have more parts, such as invoices:read:draft. Many OAuth scopes have the same shape, and an agent’s tokens carry its capabilities as their scope.</p><p>LumoAuth stores every capability in one standard form. It removes spaces at both ends and converts the name to lower case. It replaces repeated colons with one and removes colons at both ends. A - stays part of the name. Two names that differ only in case become one entry. A name with a . is not stored at all: LumoAuth rejects it and asks for the : form.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bQ8rYubjS6xJZp6Olzrfyw.png" /></figure><p>The Ask API, token exchange and just-in-time requests convert the requested name in the same way before they compare. A call to the Ask API for Invoices:Read therefore matches the stored invoices:read. An agent that asks the Ask API for invoices.read, or requests a token with scope=invoices.read, gets an error. Update code that still writes names with ..</p><p>Why does one form matter? Suppose that two parts of a system read spellings differently. A name such as users.* could then pass one check as a plain string, and match users:delete in another check as a wildcard. One stored form, with one set of matching rules, prevents that mismatch. Because LumoAuth rejects the dot form, : is the only separator in a name.</p><h3>How do wildcards work?</h3><p>LumoAuth has two wildcards:</p><ul><li>* covers every action.</li><li>A name that ends in :* covers every action under that prefix, at any depth.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Df7qMWqB9o2dibbUOyUz5w.png" /></figure><p>Three details follow from these rules:</p><ul><li>invoices:* does not cover invoices itself. If a check asks for the bare resource name, list that name separately.</li><li>A * anywhere else is an ordinary character. *:read and invoices:re* are not wildcards. Each one matches only an action with exactly that name.</li><li>A - is part of a name, not a separator. invoices-archive is a resource of its own, so invoices:* does not cover invoices-archive:read. For the same reason, invoices-read does not match invoices:read.</li></ul><p>Wildcards are also hard to review. invoices:* covers every invoice action that exists today, and every one that someone adds later. The agent’s page shows a wildcard as a warning and a bare * as critical. List the actions one by one when you can.</p><h3>Who may grant a capability?</h3><p>One rule applies, called creator containment: you cannot give an agent more authority than you hold yourself.</p><p>The rule protects LumoAuth’s permission catalogue. The catalogue holds LumoAuth’s built-in permissions, such as users.view and users.delete, and the permissions that your organization defines. As a capability, a permission takes the same form as any other name, so the permission users.delete is the capability users:delete. LumoAuth checks each capability that is new to the agent:</p><ul><li><strong>A permission from the catalogue.</strong> You must hold it. If you hold users.view but not users.delete, you can grant the first and not the second.</li><li><strong>A wildcard.</strong> You must hold every catalogue permission that it covers. With users.view alone, you cannot grant users:*, because it covers the permission users.delete.</li><li><strong>A bare </strong><strong>*.</strong> Always refused, even for an administrator who holds every permission.</li><li><strong>A name outside the catalogue</strong>, such as invoices:read when your organization has no permission named invoices.read. Allowed. It grants no authority inside LumoAuth, so there is nothing to protect. Your API checks it, through the Ask API or in its own code.</li></ul><p>When someone edits an agent, LumoAuth checks only the capabilities that they add. A colleague with fewer permissions can still change the agent’s budget or remove a capability. They cannot add a catalogue permission back if they do not hold it.</p><p>The Admin API applies the same rule. A call made with an organization API key (lmk_…) is checked against the permissions of the person who created the key. When LumoAuth rejects a capability under this rule, the error names it:</p><pre>You cannot grant an agent capabilities you do not hold yourself: users:delete. Remove them or ask an administrator who holds these permissions to create the agent.</pre><p>Without this rule, an agent would be a way around your roles. Anyone who may edit agents could register one with users:delete, get a token for it, and delete users through it.</p><h3>Where does LumoAuth check capabilities?</h3><p>LumoAuth compares against the list whenever the agent asks for authority.</p><ul><li><strong>Token requests.</strong> An agent token’s scope is always inside the agent’s capabilities. This applies to the client credentials grant, token exchange, workload attestation and the AAuth platform bridge.</li><li><strong>The Ask API.</strong> The agent sends the action name to POST /agents/ask before it runs a tool. If the agent’s token carries a narrower scope, the action must also be inside that scope.</li><li><strong>Just-in-time permissions.</strong> An agent can ask for extra authority for one task. LumoAuth turns each action in the request into a name such as invoices:approve, and checks each name against the list. A request that names no action is checked as the bare type, such as invoices. A request inside the list may be approved without a person, depending on its risk. A request outside the list always goes to a person, and neither automatic approval nor an approval policy can release it.</li><li><strong>Removing a capability.</strong> LumoAuth revokes the agent’s live OAuth access tokens, so the agent cannot keep using authority that it no longer has. Adding a capability revokes nothing.</li></ul><p>Capabilities are not the only input. If your organization uses attribute rules or relationships, a policy can allow an action that the list does not cover. An explicit deny rule always overrides the list. The Ask API reports which source produced the answer in decided_by: capability, pdp or deny_override.</p><h3>How does an agent check a capability before it acts?</h3><p>The agent calls the Ask API with the action that it is about to take. In this example, an agent that holds tickets:read and tickets:reply asks whether it may issue a refund:</p><pre>ORG=acme-corp<br># AGENT_TOKEN holds an access token issued to the agent<br>curl -sS -X POST &quot;https://app.lumoauth.dev/orgs/$ORG/api/v1/agents/ask&quot; \<br>  -H &quot;Authorization: Bearer $AGENT_TOKEN&quot; \<br>  -H &#39;Content-Type: application/json&#39; \<br>  -d &#39;{&quot;action&quot;: &quot;refunds:issue&quot;, &quot;context&quot;: {&quot;ticket&quot;: &quot;T-1042&quot;}}&#39;<br><br><br>{<br>  &quot;allowed&quot;: false,<br>  &quot;action&quot;: &quot;refunds:issue&quot;,<br>  &quot;context&quot;: {&quot;ticket&quot;: &quot;T-1042&quot;},<br>  &quot;reason&quot;: &quot;Agent lacks required capability for &#39;refunds:issue&#39;.&quot;,<br>  &quot;decided_by&quot;: &quot;capability&quot;,<br>  &quot;audit_id&quot;: &quot;8f3a1b2c4d5e6f7a&quot;<br>}</pre><p>Each call to the Ask API counts against the agent’s budget, if it has one. Once the budget is spent, LumoAuth answers 429. Denials are written to the audit log as agent.capability_check_denied. Allowed calls are not, because agents call the Ask API at every step of their tool loop.</p><p>In Python, the lumoauth package wraps the Ask API in ask(). It also has a decorator, @require_capability, for methods that need a capability:</p><pre>import requests<br>from lumoauth import LumoAuthAgent, require_capability<br><br>HELPDESK = &quot;https://helpdesk.example.com/api&quot;<br><br><br>class SupportAgent(LumoAuthAgent):<br>    @require_capability(&quot;tickets:read&quot;)<br>    def read_ticket(self, ticket_id: str) -&gt; dict:<br>        return requests.get(f&quot;{HELPDESK}/tickets/{ticket_id}&quot;, timeout=10).json()<br><br>    def issue_refund(self, ticket_id: str, amount_usd: int) -&gt; dict:<br>        decision = self.ask(&quot;refunds:issue&quot;, {&quot;ticket&quot;: ticket_id, &quot;amount_usd&quot;: amount_usd})<br>        if not decision[&quot;allowed&quot;]:<br>            return {&quot;refused&quot;: decision[&quot;reason&quot;], &quot;audit_id&quot;: decision[&quot;audit_id&quot;]}<br>        resp = requests.post(<br>            f&quot;{HELPDESK}/tickets/{ticket_id}/refunds&quot;,<br>            json={&quot;amount_usd&quot;: amount_usd},<br>            timeout=10,<br>        )<br>        return resp.json()<br><br><br># Reads LUMOAUTH_ORG_ID, AGENT_CLIENT_ID and AGENT_CLIENT_SECRET from the environment<br>agent = SupportAgent()<br>agent.authenticate()<br>print(agent.issue_refund(&quot;T-1042&quot;, 40))</pre><p>@require_capability fetches the agent’s capability list once. It raises PermissionError before the method runs if the agent does not hold the name. Write the name in its stored form, such as tickets:read, and grant that name to the agent. ask() is the check to rely on. It also applies the token’s scope and your policies, and LumoAuth records each refusal in the audit log.</p><h3>How do you choose capabilities for an agent?</h3><ol><li>List the tools that the agent calls, and give each one an action name, such as tickets:read or tickets:reply.</li><li>Grant actions, not whole resources. tickets:read and tickets:reply are easier to review than tickets:*.</li><li>Leave out actions that the agent needs only rarely. The agent can ask for them through a just-in-time request, and a person approves each one.</li><li>Write each name in the form resource:action. LumoAuth rejects resource.action. A - stays part of a name, so pull-requests:* covers only actions on pull requests.</li><li>Register separate agents for separate jobs. An agent that reads tickets and an agent that issues refunds should have two short lists, not one long list.</li><li>Give every agent at least one capability. An agent with an empty list can authenticate, but LumoAuth rejects it wherever authority is checked, and the portal shows a warning.</li></ol><h3>How LumoAuth does it</h3><p>In the Organization Portal, go to <strong>Agents</strong> (/portal/agents) and choose <strong>Register agent</strong>. Step 3, <strong>What it may do</strong>, holds the capability picker:</p><ul><li><strong>Allowed capabilities</strong> lists the permissions in the catalogue, grouped by resource, such as <strong>Users</strong>, <strong>OAuth clients</strong> and <strong>Audit logs</strong>. Each group ends with a wildcard row, such as users:*, marked <strong>Wildcard</strong>. A row that you cannot grant is disabled, with a note that explains why.</li><li><strong>Custom capabilities</strong> takes your own names, one per line, in the form resource:action. Below the box, the page shows the stored form of each line as you type. A line with a . gets a warning, and saving it fails.</li></ul><p>After registration, the agent’s page shows a posture line for its capabilities. <strong>No capabilities</strong> and <strong>Wildcard capabilities</strong> are warnings. <strong>Unbounded capabilities</strong>, for a bare *, is critical. A count such as <strong>3 capabilities</strong> is OK. The <strong>Test this agent</strong> section has a <strong>Can this agent…?</strong> box. Enter an action, such as invoices:read, and the portal runs the same decision as the Ask API. Each test is audited as agent.test_run.</p><p>To change the list from a script, call the Admin API with an organization API key that has the admin:agents:write scope:</p><pre>ORG=acme-corp<br>AGENT_ID=agt_42<br>curl -sS -X PUT &quot;https://app.lumoauth.dev/orgs/$ORG/api/v1/admin/agents/$AGENT_ID/scopes&quot; \<br>  -H &quot;Authorization: ApiKey $LUMOAUTH_API_KEY&quot; \<br>  -H &#39;Content-Type: application/json&#39; \<br>  -d &#39;{&quot;scopes&quot;: [&quot;tickets:read&quot;, &quot;tickets:reply&quot;]}&#39;</pre><p>The list in the body replaces the old list, and creator containment applies. Every change is recorded in the audit log as agent.updated, with the old and new lists.</p><p>The <a href="https://docs.lumoauth.dev/agents/registry">docs for the agent registry</a> cover the capability rules and the wizard. The <a href="https://docs.lumoauth.dev/agents/ask-api">docs for the Ask API</a> show the request and the SDK helpers. The <a href="https://docs.lumoauth.dev/agents/jit">docs for just-in-time permissions</a> explain how requests are approved. This series starts with <a href="https://blog.lumoauth.dev/ai-agent-identity/what-is-ai-agent-identity/">What is an AI agent identity?</a>, and the previous post covers <a href="https://blog.lumoauth.dev/ai-agent-identity/ai-agent-authentication-methods/">six ways an AI agent can prove who it is</a>.</p><h3>Standards involved</h3><ul><li>OAuth 2.0 access token scope, <a href="https://www.rfc-editor.org/rfc/rfc6749#section-3.3">RFC 6749 section 3.3</a>, which carries a subset of the agent’s capabilities in each token</li><li>OAuth 2.1 and the client credentials grant, for agent tokens</li><li>OAuth 2.0 token exchange, <a href="https://www.rfc-editor.org/rfc/rfc8693">RFC 8693</a>, where a requested scope can only narrow the agent’s capabilities</li><li>Rich authorization requests, <a href="https://www.rfc-editor.org/rfc/rfc9396">RFC 9396</a>, for the authorization_details of just-in-time requests</li></ul><p>The full list is on the <a href="https://docs.lumoauth.dev/reference/standards">standards reference</a>.</p><h3>FAQ</h3><p><strong>What is the difference between an OAuth scope and an agent capability?</strong> A scope describes the access in one token, and it often names a broad area such as profile. A capability names one action, such as invoices:read, and is stored on the agent’s record. It is the upper limit for every token, check and approval for that agent. In LumoAuth, an agent token’s scope is always a subset of the agent’s capabilities.</p><p><strong>Can I give an agent the </strong><strong>* capability?</strong> No. LumoAuth rejects a bare * from anyone in your organization, even an administrator who holds every permission. Use a prefix wildcard such as invoices:*, or better, list the actions one by one.</p><p><strong>Does </strong><strong>invoices:* cover </strong><strong>invoices?</strong> No. invoices:* covers invoices:read, invoices:write and invoices:read:draft, but not a capability named invoices. Only * and names that end in :* are wildcards. A * anywhere else is an ordinary character.</p><p><strong>Can I write a capability as </strong><strong>invoices.read?</strong> No. LumoAuth rejects invoices.read when you add a capability, when an agent requests a token for your organization’s API and when an agent calls the Ask API. Write invoices:read. LumoAuth’s own permission names, such as users.delete, and the scopes of your MCP servers keep their dots.</p><p><strong>Do I have to define my own API’s actions as permissions first?</strong> No. Add them as custom capabilities, such as invoices:read. A name outside LumoAuth’s permission catalogue grants no authority inside LumoAuth, so anyone who may edit the agent can add it. Your API then checks the name, through the Ask API or in its own code.</p><p><strong>What happens to live tokens when I remove a capability?</strong> LumoAuth revokes the agent’s live OAuth access tokens, so the agent cannot keep using authority that it has lost. Adding a capability revokes nothing, because the existing tokens are still inside the new list.</p><p>Originally published at <a href="https://blog.lumoauth.dev/ai-agent-identity/ai-agent-least-privilege-capabilities/">https://blog.lumoauth.dev/ai-agent-identity/ai-agent-least-privilege-capabilities/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cae0aa59d84b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Six ways an AI agent can prove who it is (and which one to pick)]]></title>
            <link>https://medium.com/@lumoauth/six-ways-an-ai-agent-can-prove-who-it-is-and-which-one-to-pick-e7baa2b3a87c?source=rss-b2b93d86dc41------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7baa2b3a87c</guid>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[access-management]]></category>
            <category><![CDATA[ai-agents-in-action]]></category>
            <category><![CDATA[agentic-security]]></category>
            <dc:creator><![CDATA[LumoAuth Engineering]]></dc:creator>
            <pubDate>Sun, 29 Nov 2026 22:30:28 GMT</pubDate>
            <atom:updated>2026-11-29T22:30:28.374Z</atom:updated>
            <content:encoded><![CDATA[<p>An AI agent can prove who it is with a token from its platform, a key that it holds, a shared secret or another system’s word. Here are the six identity types in LumoAuth’s agent registry, what an attacker must steal to use each one, and how to choose.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oM6-Sv1wg4NTePKc" /><figcaption>Photo by <a href="https://unsplash.com/@davidvincentsv?utm_source=medium&amp;utm_medium=referral">David Vincent Villavicencio</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>An AI agent can prove who it is in four ways. It can show a token from the platform that runs it, sign with a private key that it holds, send a shared secret, or rely on the word of another system. LumoAuth’s agent registry offers six identity types across those four. Pick the type that leaves the least to steal. Use workload identity when the agent runs on a platform that issues tokens, such as GitHub Actions or Kubernetes. Use AAuth when the agent can hold its own key. Use a client secret when your tools only support OAuth, and an API key only for a prototype.</p><h3>TL;DR</h3><ul><li>With workload identity, LumoAuth stores no secret for the agent. The platform signs a short-lived token for the agent’s own audience, and LumoAuth accepts each token only once.</li><li>An AAuth agent signs every request with its own key, using HTTP message signatures (RFC 9421). A copied token is useless without that key.</li><li>A client secret or an agk_ API key is a single string. Whoever copies it can act as the agent until you rotate it. API keys expire after 180 days unless you choose otherwise.</li><li>The identity type is fixed after registration. To move a prototype to a stronger type, register a new agent and revoke the old one.</li><li>Whatever the identity type, the agent has one record, so capabilities, budgets, approvals and audit work the same way for all six.</li></ul><h3>How can an AI agent authenticate?</h3><p>To authenticate, an agent has to present something that only it can present. There are four kinds of proof:</p><ol><li><strong>A token from its platform.</strong> GitHub Actions, Kubernetes, the major clouds and SPIFFE can sign a short-lived token that says where the code runs. The agent stores nothing.</li><li><strong>A key that it holds.</strong> The agent keeps a private key and signs with it. The key never leaves the agent. Only signatures travel.</li><li><strong>A shared secret.</strong> The agent and the server both know a string, such as a client secret or an API key. The agent sends the string, or trades it for a token.</li><li><strong>Another system’s word.</strong> A gateway or an external agent registry has already identified the agent, and you trust that system.</li></ol><p>LumoAuth turns these four into six identity types. You choose one in step 2 of the registration wizard, <strong>How it proves its identity</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JCArvcdcXMgb_C3vxtXdLg.png" /></figure><h3>What would an attacker have to steal?</h3><p>Ask one question of each method: what would someone need in order to become this agent? The answers put the six types in order.</p><ul><li><strong>Workload identity:</strong> control of the workload itself. The attacker would have to run code in the pinned repository and branch, or as the pinned service account. There is no stored value to copy.</li><li><strong>AAuth and private key JWT:</strong> the private key. The key is never sent, so it does not appear in logs, proxies or request captures.</li><li><strong>Client secret:</strong> one string. It is stored in a config file or a secrets manager, and the agent sends it whenever it needs a new token.</li><li><strong>API key:</strong> one string, sent on every call. Each request is a chance for it to end up in a log.</li><li><strong>Custom:</strong> whatever the other system requires. LumoAuth checks nothing itself, so your protection is only as strong as that system.</li></ul><p>Secrets also have a second cost: rotation. Somebody has to replace each one before it leaks or expires, without breaking the agent. Platform tokens expire within minutes, and an AAuth key can stay in place because it never travels.</p><h3>Workload identity: the platform confirms the agent’s identity</h3><p>Choose workload identity whenever the agent runs on a platform that can issue tokens. LumoAuth accepts tokens from:</p><ul><li>GitHub Actions, GitLab CI, Azure DevOps, CircleCI, Buildkite, Terraform Cloud, Vercel and Cloudflare</li><li>Kubernetes projected service account tokens, AWS EKS through IAM roles for service accounts, Google Cloud and Microsoft Entra</li><li>SPIFFE JWT-SVIDs, and any other OIDC issuer that you configure</li></ul><p>The agent asks its platform for a token, then sends that token to LumoAuth. By default, the token must name the agent’s own URL as its audience. A token that the platform minted for some other service is then refused.</p><pre>ORG=acme-corp<br>AGENT_ID=agt_42<br># WORKLOAD_TOKEN holds the platform&#39;s token, minted for the agent&#39;s own audience:<br>#   https://app.lumoauth.dev/orgs/acme-corp/api/v1/agents/agt_42<br>curl -sS -X POST &quot;https://app.lumoauth.dev/orgs/$ORG/api/v1/agents/$AGENT_ID/attest&quot; \<br>  -H &#39;Content-Type: application/json&#39; \<br>  -d &quot;{\&quot;attestation_token\&quot;: \&quot;$WORKLOAD_TOKEN\&quot;}&quot;</pre><p>The response holds an access token for the agent that expires after 900 seconds. The agent can also use OAuth token exchange (RFC 8693) at the token endpoint instead. Each platform token is accepted only once, so the agent fetches a fresh one for every exchange.</p><p>The binding is what makes this safe. It pins the agent to one repository, one branch or environment, or one service account. The portal flags a binding that accepts too much: a workload agent with no binding is critical, and a GitHub binding that accepts any branch or pull request is a warning.</p><h3>AAuth: the agent signs every request</h3><p>AAuth is LumoAuth’s protocol for agents that hold their own key. The agent has an HTTPS identifier and a key pair. It signs each request with HTTP message signatures (RFC 9421), covering the method, the host and the path. Each signature carries a timestamp that must be within 60 seconds of the server’s clock, and a nonce that can be used only once.</p><p>Tokens issued to an AAuth agent are bound to its key. A token copied from a log is useless without the matching signature. When the agent needs a standard OAuth token, it calls the platform bridge, POST /aauth/agent/platform-token. The bridge returns a token that is bound to the same key with DPoP (RFC 9449) and expires after at most 300 seconds.</p><p>Choose AAuth for agents that run outside a token-issuing platform: on a laptop, on a plain virtual machine, or with a hosting provider that has no OIDC issuer. The Python (lumoauth[aauth]), Node (@lumoauth/agent) and Go SDKs sign requests for you.</p><h3>Client ID and secret: OAuth client credentials</h3><p>Every OAuth library supports the client credentials grant, which is why this type exists. The agent sends its agt_… ID and its secret to the token endpoint and receives an access token that expires after at most an hour.</p><pre>curl -sS -X POST &quot;https://app.lumoauth.dev/orgs/$ORG/api/v1/oauth/token&quot; \<br>  -d grant_type=client_credentials \<br>  -d client_id=&quot;$AGENT_ID&quot; \<br>  -d client_secret=&quot;$LUMOAUTH_CLIENT_SECRET&quot;</pre><p>LumoAuth shows the secret once and stores only a hash of it. Keep the secret in a secrets manager and rotate it on a schedule. The portal warns when a secret is older than 180 days.</p><p>You can reduce the risk of a shared secret in one more way. Send a DPoP proof with the token request, and LumoAuth binds the access token to the agent’s key. Turn on <strong>Only issue DPoP-bound tokens</strong> in the agent’s settings, and LumoAuth refuses token requests that carry no proof.</p><h3>API key: one string, for prototypes</h3><p>An API key for an agent starts with agk_. The agent sends it as a bearer token, so the key itself is the credential. LumoAuth shows the key once, stores only a hash of it, and sets an expiry of 180 days by default. <em>Never</em> is available, but you have to choose it on purpose.</p><p>API keys are the quickest way to try an agent, and the weakest way to run one. The portal rates every API key agent as a warning. It also warns when a key never expires or expires within 14 days, and marks an expired key as critical. Use an API key on a host that you trust, then move the agent to a stronger type before production.</p><h3>Private key JWT: a signed assertion instead of a secret</h3><p>A private key JWT agent also holds a private key, but it uses the key only for the token request. Whenever it needs a token, it signs a short JWT, called a client assertion, and sends that instead of a secret. LumoAuth stores only the public key: a JWKS URL, or a key set pasted into the portal.</p><pre>now = int(time.time())<br>assertion = jwt.encode(<br>    {&quot;iss&quot;: AGENT_ID, &quot;sub&quot;: AGENT_ID, &quot;aud&quot;: ISSUER,<br>     &quot;iat&quot;: now, &quot;exp&quot;: now + 60, &quot;jti&quot;: str(uuid.uuid4())},<br>    private_key, algorithm=&quot;ES256&quot;,<br>    headers={&quot;kid&quot;: &quot;agent-2026-11&quot;, &quot;typ&quot;: &quot;client-authentication+jwt&quot;},<br>)<br>requests.post(TOKEN_URL, data={<br>    &quot;grant_type&quot;: &quot;client_credentials&quot;,<br>    &quot;client_assertion_type&quot;: &quot;urn:ietf:params:oauth:client-assertion-type:jwt-bearer&quot;,<br>    &quot;client_assertion&quot;: assertion,<br>})</pre><p>LumoAuth checks the signature, then the claims. The audience must be the organization’s issuer identifier, the assertion may be valid for at most 10 minutes, and each jti is accepted only once. A copied assertion is useless after its first use.</p><p>Choose this type for an agent that can keep a private key but runs where no platform issues tokens, such as a virtual machine or AWS Lambda. It is the standard OAuth private_key_jwt method (RFC 7523), so most OAuth libraries can produce the assertion. To rotate, add the new key next to the old one, switch the agent over, then remove the old key. The portal rates the type as OK once a public key is registered.</p><h3>Custom: another system vouches for the agent</h3><p><strong>Custom</strong> records an identity that another system manages. Agents imported from AWS AgentCore Identity or Salesforce Agentforce arrive as custom, for example. They arrive inactive and with no capabilities, so a person reviews each one first. LumoAuth checks nothing about a custom identity, so the portal rates it as a warning: the trust comes from the system in front of it.</p><h3>How do you choose?</h3><p>Work down this list and stop at the first answer that fits.</p><ol><li><strong>Does the agent run on a platform that issues OIDC tokens?</strong> Use workload identity, and pin the binding to a branch, an environment or a service account.</li><li><strong>Can the agent keep a private key safe?</strong> Use AAuth if every request should be signed, or a private key JWT if only the token request needs to be.</li><li><strong>Do your tools only support OAuth client credentials?</strong> Use a client ID and secret. Store the secret in a secrets manager, rotate it, and bind tokens with DPoP.</li><li><strong>Is this a prototype on a host that you trust?</strong> Use an API key with an expiry.</li><li><strong>Does another registry already manage the agent’s identity?</strong> Import it as custom, then review its capabilities before you activate it.</li></ol><p>One more rule applies to all of them: register one agent per purpose and per owner. Ten replicas of the same support agent share one record. Two agents with different jobs get two records, even if they run in the same pod.</p><h3>Can you change the identity type later?</h3><p>No. The identity type is fixed once the agent is registered, because it determines which credentials exist for the agent. To move from an API key to workload identity, register a new agent with the new type and give it the same capabilities. Then move the workload over, check that the new agent works, and revoke the old agent. Revocation is final and ends every credential that the old agent held.</p><h3>How LumoAuth does it<a href="https://blog.lumoauth.dev/ai-agent-identity/ai-agent-authentication-methods/#how-lumoauth-does-it">#</a></h3><p>In the Organization Portal, go to <strong>Agents</strong> (/portal/agents) and choose <strong>Register agent</strong>. Step 2, <strong>How it proves its identity</strong>, lists the identity cards from strongest to weakest, with workload identity selected by default. Choosing workload identity shows the provider cards and the binding fields, including the exact audience that the platform must mint the token for. Choosing API key shows <strong>Key expires after</strong>.</p><p>After you click <strong>Register agent</strong>, the next page shows an API key or a client secret once. For the other types, no secret is generated and the agent’s page opens. Its <em>Next steps</em> section has copy-paste snippets for the chosen type, such as the attestation call for the exact audience that the binding requires, or a Python example that signs a client assertion.</p><p>The agent’s page also shows its security posture: a checklist that LumoAuth computes from the agent’s settings. Workload identity, AAuth and a private key JWT are rated OK. A client secret is informational, and an API key or a custom identity is a warning. Each line explains why it matters and links to the page that fixes it. The agent list has a <strong>Needs attention</strong> filter, which shows every agent with an open finding.</p><p>Whichever type you pick, every credential resolves to the agent’s single agt_… record. Capabilities, budgets, just-in-time permissions, audit entries and the kill switch all act on that record. That idea is the subject of the first post in this series, <a href="https://blog.lumoauth.dev/ai-agent-identity/what-is-ai-agent-identity/">What is an AI agent identity?</a></p><p>The <a href="https://docs.lumoauth.dev/agents/registry">docs for the agent registry</a> cover every field and the Admin API. The <a href="https://docs.lumoauth.dev/agents/attestation">docs for workload attestation</a> list the binding fields for each provider. The <a href="https://docs.lumoauth.dev/agents/aauth">AAuth docs</a> explain signing and the token flows step by step. The <a href="https://docs.lumoauth.dev/agents/private-key-jwt">private key JWT docs</a> show the assertion format, code in three languages and key rotation.</p><h3>Standards involved</h3><ul><li>OAuth 2.1 and the client credentials grant, for client secrets</li><li>OAuth 2.0 token exchange, <a href="https://www.rfc-editor.org/rfc/rfc8693">RFC 8693</a>, for exchanging a platform token for an agent token</li><li>OpenID Connect ID tokens and SPIFFE JWT-SVIDs, as the platform tokens behind workload identity</li><li>HTTP message signatures, <a href="https://www.rfc-editor.org/rfc/rfc9421">RFC 9421</a>, which AAuth uses to sign each request</li><li>JWT profile for OAuth client authentication, <a href="https://www.rfc-editor.org/rfc/rfc7523">RFC 7523</a>, for the client assertions of private key JWT agents</li><li>OAuth 2.0 Demonstrating Proof of Possession (DPoP), <a href="https://www.rfc-editor.org/rfc/rfc9449">RFC 9449</a>, for binding tokens to the agent’s key</li></ul><p>The full list is on the <a href="https://docs.lumoauth.dev/reference/standards">standards reference</a>.</p><h3>FAQ</h3><p><strong>What is the most secure way for an AI agent to authenticate?</strong> Workload identity, when the platform supports it. The platform signs a short-lived token for the agent, so no secret exists to leak or rotate. If the platform cannot issue tokens, the next best option is a private key that the agent holds and signs with, as in AAuth.</p><p><strong>Are API keys safe for AI agents?</strong> They are acceptable for a prototype on a host that you trust. An API key is one string, and whoever copies it can act as the agent. If you use one, give it an expiry. LumoAuth sets 180 days by default and warns when a key never expires.</p><p><strong>Can I change an agent’s identity type after registration?</strong> No. The identity type is fixed once the agent is registered. Register a new agent with the stronger type, give it the same capabilities, move the workload over and then revoke the old agent.</p><p><strong>My agent runs on AWS Lambda. Can it use workload identity?</strong> Not with LumoAuth today. On AWS, workload identity covers EKS through IAM roles for service accounts. Plain EC2, Lambda and ECS are not attestation sources. Use a private key JWT or AAuth, with the key kept in a secrets manager, or a client secret with DPoP.</p><p><strong>Does the identity type limit what an agent can do?</strong> No. The identity type controls how the agent proves who it is. Its capabilities, budget and approval rules control what it may do. All of them sit on the same agent record, whichever identity type you choose.</p><p><em>Originally published at </em><a href="https://blog.lumoauth.dev/ai-agent-identity/ai-agent-authentication-methods/"><em>https://blog.lumoauth.dev/ai-agent-identity/ai-agent-authentication-methods/</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7baa2b3a87c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is an AI agent identity, and what does “one agent, one record” mean?]]></title>
            <link>https://medium.com/@lumoauth/what-is-an-ai-agent-identity-and-what-does-one-agent-one-record-mean-4130eb660b7d?source=rss-b2b93d86dc41------2</link>
            <guid isPermaLink="false">https://medium.com/p/4130eb660b7d</guid>
            <category><![CDATA[agentic-security]]></category>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[agent-identity]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[identity-and-access]]></category>
            <dc:creator><![CDATA[LumoAuth Engineering]]></dc:creator>
            <pubDate>Thu, 26 Nov 2026 08:25:00 GMT</pubDate>
            <atom:updated>2026-11-26T08:25:00.332Z</atom:updated>
            <content:encoded><![CDATA[<p>An AI agent identity is a record that names one agent, its owner and what it may do, so that every action can be traced back to it. Here is what that means, why shared keys and borrowed user tokens fail, and how to model it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*f7RdYb9DGKyGayaQ" /><figcaption>Photo by <a href="https://unsplash.com/@jontyson?utm_source=medium&amp;utm_medium=referral">Jon Tyson</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>An AI agent identity is a record that names one specific agent. The record says who owns the agent, how the agent proves who it is, and what the agent may do. Every token that the agent receives points back to that record, so every action can be traced to it. “One agent, one record” means exactly that: however many credentials an agent uses, they all lead to the same record. Permissions, budgets, approvals, audit entries and revocation all refer to that one record.</p><h3>TL;DR</h3><ul><li>An AI agent is a third kind of principal, next to people and OAuth clients. It acts for a person, runs as software, and chooses its next step at runtime.</li><li>Borrowing the user’s token hides the agent from the audit log. A shared API key hides which agent acted, and nobody owns it.</li><li>The record for an agent holds an owner, an identity type, credentials, a capability list, a delegation setting, a status and usage data.</li><li>“One agent, one record” means every credential resolves to the same record, so one suspend action can end every token and grant that the agent holds.</li></ul><h3>What is an AI agent identity?</h3><p>In identity systems, a <em>principal</em> is anything that can be authenticated and given permissions. For twenty years there were two kinds. People sign in with a password, a passkey or single sign-on. Applications authenticate as OAuth clients with a client ID and a secret or a key.</p><p>An AI agent fits neither. Like an application, it is software. Like a person, it makes choices: a language model reads a goal, picks a tool, reads the result and picks the next tool. It often acts for a specific person, with that person’s data. And it takes instructions from text that it reads, including text that an attacker wrote.</p><p>An agent identity treats the agent as its own principal. It answers four questions that security teams ask after any incident:</p><ol><li><strong>Which agent was this?</strong> Not “the API key” or “the integration”, but one named agent.</li><li><strong>Who is responsible for it?</strong> A named owner, who answers for its configuration.</li><li><strong>What was it allowed to do?</strong> A fixed list of capabilities, checked on every request.</li><li><strong>For whom was it acting?</strong> The person whose authority it used, recorded next to the agent.</li></ol><p>If your system cannot answer all four from its logs, your agents do not have identities yet. They have credentials.</p><h3>Why can’t an agent use the user’s login or a service account?</h3><p>These are the two shortcuts that most teams take first. Both work in a demo, and both fail in production.</p><p><strong>Borrowing the user’s token.</strong> The agent receives the user’s access token and calls APIs with it. Every request appears to come from the user. The audit log records that the person issued a refund, and has no record of the agent. The agent also gets everything that the user can do, for as long as the token is valid. A research assistant that only needs to read tickets can then also close accounts.</p><p><strong>A shared service account or API key.</strong> The team creates one key and puts it in an environment variable. Soon three agents, a cron job and a staging deployment use the same key. When something goes wrong, the log says “the key did it”. Rotating the key breaks every program that uses it, so it rarely gets rotated. Nobody owns it, so nobody reviews what it can do.</p><p>The cost of these shortcuts shows up in three places:</p><ul><li><strong>Attribution.</strong> You cannot tell which agent acted, or for whom.</li><li><strong>Blast radius.</strong> A hijacked agent holds broad, long-lived access. Prompt injection turns that access into the attacker’s access.</li><li><strong>Revocation.</strong> You cannot stop one agent without breaking others, and you cannot be sure that every copy of its secret is gone.</li></ul><h3>What does “one agent, one record” mean?</h3><p>It means that each agent has exactly one record, and everything about the agent is attached to it. An agent may authenticate in several ways over its life. Each way still resolves to the same record.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kVA_xRLo85dRa3y2RuBigw.png" /></figure><p>Because there is one record, every other control can refer to it:</p><ul><li><strong>Permissions</strong> name the agent, not a key: “agent agt_… may read invoices”.</li><li><strong>Approvals</strong> show the reviewer which agent is asking, who owns it, and for which person.</li><li><strong>Budgets</strong> count calls and spend per agent, across all of its credentials.</li><li><strong>Audit entries</strong> carry the agent’s identifier as the actor, so one filter shows everything that it did.</li><li><strong>Revocation</strong> acts on the record. Suspend it, and every token, grant and key that points at it stops working.</li></ul><p>The opposite model is “one credential, one identity”. There, an agent with a client secret and a workload binding looks like two principals. Permissions must be granted twice and revoked twice, and the audit trail splits in two.</p><h3>What belongs on an agent’s record?</h3><p>The fields below are what an agent identity needs, whichever product you use. The right-hand column shows why each one matters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3bsQhA8e45t9WeVEFJEP_Q.png" /></figure><p>Two rules make these fields useful. First, capabilities should only narrow. A token for one task carries a subset of the agent’s capabilities, never more. Second, nobody should grant an agent more than they hold. If you cannot issue refunds, you should not be able to create an agent that can.</p><h3>Why should you care now?</h3><p>Three trends make agent identity urgent.</p><p><strong>Agents call real APIs.</strong> The Model Context Protocol (MCP) gives agents a standard way to call tool servers. That makes it easy to connect an agent to a CRM, a payment system or a code repository. Each connection is an access decision, and each one needs a principal to decide about.</p><p><strong>Agents run without a person watching.</strong> Background agents work through queues at night. If one goes wrong at 2 a.m., the on-call engineer needs to know which agent it is, who owns it and how to stop it. Those answers should come from a record, not from searching a Slack channel.</p><p><strong>Auditors ask about agents.</strong> Access reviews, incident reports and privacy requests all ask the same question: who accessed this data, and why? “An API key” is not an answer that an auditor accepts. “Agent agt_…, owned by the support team, acting for this customer, approved by this reviewer” is.</p><h3>How is agent identity different from workload identity?</h3><p>They solve different problems, and agents usually need both.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lafpJB-ltkWpWnsOmkqbLQ.png" /></figure><p>Workload identity is the best way for an agent to <em>prove</em> who it is, because it removes the stored secret. The platform signs a short-lived token that says “this code runs in this repository” or “this pod runs as this service account”. The agent identity is what that proof <em>resolves to</em>: the record with the owner, the capabilities and the budget.</p><p>When an agent acts for a person, a third piece joins: delegation. OAuth token exchange (RFC 8693) issues a token whose subject is the person and whose act claim names the agent. The API that receives the token sees both, and so does the audit log. Agents that call other agents add one level to the act chain at each step.</p><h3>How LumoAuth does it</h3><p>LumoAuth puts every agent in one registry. In the Organization Portal, go to <strong>Agents</strong> (/portal/agents) and register an agent with the three-step wizard:</p><ol><li><strong>Who is this agent</strong>: the name, description, owner and framework.</li><li><strong>How it proves its identity</strong>: one of six identity types (workload, aauth, private_key_jwt, client_secret, api_key, custom). The type is fixed after registration.</li><li><strong>What it may do</strong>: capabilities, whether it may act on behalf of users, and its budget and limits.</li></ol><p>The agent receives an identifier such as agt_3f9c…. Client credentials, workload attestation and AAuth signed requests all resolve to that record. The rest of the product reads the same record:</p><ul><li><strong>Capabilities</strong> are stored in one standard form, resource:action in lower case, such as tickets:read. LumoAuth rejects the dot form, such as tickets.read. Wildcards are limited to * and prefix:*. The person creating an agent cannot grant capabilities that they do not hold.</li><li><strong>Acting for people</strong> is off by default. Turn on <strong>May act on behalf of users</strong> before the agent may request a person’s authority.</li><li><strong>Status</strong> is active, inactive, suspended or revoked. Revoked is final.</li><li><strong>The kill switch</strong> suspends, revokes or deactivates the agent in one step. It revokes the agent’s OAuth and AAuth tokens, its pending and approved just-in-time requests, and its token vault grants. It can also send a CAEP event to your other systems and revoke the agent’s AI-gateway keys.</li><li><strong>Dormancy</strong> is checked daily. By default, an agent that nobody has used for 90 days becomes inactive.</li><li><strong>Audit</strong> records every action with the agent’s identifier as the actor, including the full act chain when the agent acts for a person.</li><li><strong>End users</strong> see the agents that act for them at <strong>My agents</strong> (/account/my-agents) and can revoke each one.</li></ul><p>The <a href="https://docs.lumoauth.dev/agents/registry">docs for the agent registry</a> cover the wizard and the API. The <a href="https://docs.lumoauth.dev/agents/architecture">architecture overview</a> shows how one request flows from attestation to audit.</p><h3>Standards involved</h3><ul><li>OAuth 2.1 for client credentials and access tokens</li><li>OAuth 2.0 token exchange, <a href="https://www.rfc-editor.org/rfc/rfc8693">RFC 8693</a>, including the act claim for delegation</li><li>HTTP message signatures, <a href="https://www.rfc-editor.org/rfc/rfc9421">RFC 9421</a>, used by AAuth to sign agent requests</li><li>SPIFFE JWT-SVIDs and platform OIDC tokens for workload identity</li><li>Shared Signals Framework with CAEP, to tell other systems when an agent is revoked</li><li>The Model Context Protocol authorization specification, for agents that call MCP servers</li></ul><p>The full list is on the <a href="https://docs.lumoauth.dev/reference/standards">standards reference</a>.</p><h3>FAQ</h3><p><strong>Is an AI agent identity the same as a service account?</strong> No. A service account names a workload and is often shared by many programs. An agent identity names one agent, has a named owner and a fixed list of capabilities, and can act for a person while the record keeps both names.</p><p><strong>Should each running copy of an agent get its own identity?</strong> Usually not. Register one identity per agent, meaning one purpose and one owner. Ten replicas of the same support agent share one record, and the audit log tells them apart by request data such as the IP address and trace ID. A different purpose or a different owner is a different agent.</p><p><strong>Does an agent identity need a secret?</strong> Not when the agent runs on a platform that can vouch for it, such as GitHub Actions, Kubernetes or a major cloud. The agent exchanges the platform’s signed token for its own token. A signing key that never leaves the agent is the next best option. A long-lived API key is the last resort.</p><p><strong>What happens to the user’s identity when an agent acts for them?</strong> It stays in the token. With OAuth token exchange (RFC 8693), the subject is the person and the act claim names the agent. The API that receives the token can check both, and the audit log records both.</p><p><strong>How do I revoke an agent?</strong> Suspend or revoke its record. Because every credential and grant points at that one record, one action ends all of them. In LumoAuth this is the kill switch.</p><p>Originally published at <a href="https://blog.lumoauth.dev/ai-agent-identity/what-is-ai-agent-identity/">https://blog.lumoauth.dev/ai-agent-identity/what-is-ai-agent-identity/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4130eb660b7d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why we built LumoAuth: identity for people and AI agents]]></title>
            <link>https://medium.com/@lumoauth/why-we-built-lumoauth-identity-for-people-and-ai-agents-46360bd963cd?source=rss-b2b93d86dc41------2</link>
            <guid isPermaLink="false">https://medium.com/p/46360bd963cd</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[identity-management]]></category>
            <category><![CDATA[agentic-security]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[LumoAuth Engineering]]></dc:creator>
            <pubDate>Thu, 19 Nov 2026 03:53:16 GMT</pubDate>
            <atom:updated>2026-11-19T03:53:16.480Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Iz_YtS13g1aapFiq" /><figcaption>Photo by <a href="https://unsplash.com/@yheng?utm_source=medium&amp;utm_medium=referral">Y Heng</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Identity platforms model two principals, users and OAuth clients. AI agents are neither. Here is the gap we kept hitting, what the incumbents have added, and what we built instead.</p><p>We started LumoAuth because identity platforms model two kinds of principal: a person and an OAuth client. An AI agent is neither. An agent acts for a person, runs as a workload, calls tools that it was not written for, and makes decisions that nobody reviewed. Existing products answer that with a client ID, a long-lived secret and a list of scopes. The result is an agent with a bearer token that can do everything that the user can do, forever, with no record of who asked.</p><h3>TL;DR</h3><ul><li>LumoAuth is a hosted authentication and authorization service with two jobs: passwordless sign-in for people, and identity plus guardrails for AI agents.</li><li>Every agent gets its own record, owner, bounded capability list, budget, risk score and a kill switch that reaches every token, grant and gateway key that it holds.</li><li>The agent features sit on standards. They use OAuth 2.1, RFC 8693 token exchange, RFC 9396 rich authorization requests, RFC 9421 HTTP message signatures, RFC 9449 DPoP, RFC 9728 protected resource metadata, the MCP authorization specification and OpenID CIBA.</li></ul><h3>What did identity platforms get right?</h3><p>A lot. The last fifteen years of identity work gave us OpenID Connect for sign-in, SAML and SCIM for the enterprise, WebAuthn passkeys that finally beat phishing, and OAuth 2.1 as a sane baseline. Auth0, Okta, Microsoft Entra, Amazon Cognito and the open-source servers all do this well. We use the same standards and we are not pretending otherwise.</p><p>The incumbents have also started on agents, and some of it is good work. Checked 23 October 2026:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FupHypCylduTVdssWthUFQ.png" /></figure><p>Each of these fixes one piece. None of them fixes the model.</p><h3>What changed when agents started calling APIs?</h3><p>Three things that a classic OAuth client never had to deal with.</p><p><strong>The caller is not the author.</strong> A person asked for something, a model decided how to do it, and a tool call happened. The resource server receives a token. Whose token? If it is the user’s, the audit log records that the human did it. If it is the agent’s, the log has no record of the human. Both answers are wrong on their own. RFC 8693 token exchange defined the act claim for exactly this chain, and almost nobody issues it.</p><p><strong>The scope is decided at runtime.</strong> A deployment pipeline has a fixed list of APIs before it runs. An agent only finds out mid-task. The classic fix is to grant everything up front, which is how a research assistant ends up with permission to issue refunds. The standards answer exists. Rich authorization requests (RFC 9396) describe one action. Client-initiated backchannel authentication (OpenID CIBA) lets a human approve it while the agent waits.</p><p><strong>Input is hostile.</strong> A tool result, a web page or an email can carry instructions that the model will follow. Authentication cannot stop prompt injection. What it can do is make sure that a hijacked agent holds a narrow, short-lived credential. The damage is then bounded by what the agent was allowed to do in the next few minutes, not by everything that it could ever do.</p><h3>Where do existing IAM products fall short for agents?</h3><p>Here is the list that we kept writing on whiteboards. Each row names the gap, what teams do today, and the standard that already solves it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TLREh6MhhWI2CTz9Dun5yA.png" /></figure><p>None of this needs a new protocol. It needs one server that implements the existing ones together and treats the agent as the subject.</p><h3>Why not just use OAuth clients and scopes?</h3><p>Because scopes are static strings granted at registration and checked by string comparison. They name which API, never which record, which amount or which user. A payments:write scope does not express “refund order 4821 for up to 50 dollars, once, approved by the account owner”. Rich authorization requests do. A client credentials grant hands back a bearer token with every scope that the client was ever granted, and the token stays valid until it expires. That is the wrong shape for software that takes instructions from untrusted text.</p><p>The other reason is ownership. An OAuth client has no owner. When an agent misbehaves at 2 a.m., the question is not “which client ID” but “whose agent, running where, doing what for whom”. A principal model has to carry that.</p><h3>How LumoAuth does it</h3><p>LumoAuth is one hosted service with a US and an EU region. The person-facing half is passkeys, magic links, one-time codes, push approval, social and enterprise sign-in. The agent-facing half is below.</p><ul><li><strong>Registry.</strong> Every agent is a record with an identifier (agt_…), an owner, an identity type and a capability list with wildcards that can never exceed its creator’s. <a href="https://docs.lumoauth.dev/agents/registry">Docs: agent registry</a>.</li><li><strong>AAuth, the native protocol.</strong> Agents sign every request with RFC 9421 HTTP message signatures and hold tokens bound to their key. Delegation is recorded as an act chain of up to five hops. <a href="https://docs.lumoauth.dev/agents/aauth">Docs: AAuth</a>.</li><li><strong>Workload identity.</strong> An agent exchanges its platform token for a LumoAuth token, with no stored secret. It can run on GitHub Actions, Kubernetes, AWS EKS, Azure, Google Cloud, SPIFFE or a CI platform. <a href="https://docs.lumoauth.dev/agents/workload-federation">Docs: workload federation</a>.</li><li><strong>MCP server authorization.</strong> Each registered MCP server publishes RFC 9728 protected resource metadata. It challenges unauthenticated calls per the MCP authorization specification (2025–11–25 revision) and can require DPoP. Per-tool grants come from relationship checks for each tool. <a href="https://docs.lumoauth.dev/mcp/">Docs: MCP authorization</a>.</li><li><strong>Just-in-time permissions.</strong> The agent asks for one action using authorization_details. The risk score determines whether a human must approve. Payment, user data, credential and admin actions always do. Approval lands in Slack, Teams, ServiceNow, Jira, the portal inbox or a phone. The token expires after 60 to 900 seconds and is bound to that task. <a href="https://docs.lumoauth.dev/agents/jit">Docs: just-in-time permissions</a>.</li><li><strong>Kill switch.</strong> Suspend, revoke or deactivate an agent from the portal or the API. It revokes the agent’s tokens, grants and AI-gateway keys in one unit of work and can emit a CAEP event to your other systems. <a href="https://docs.lumoauth.dev/agents/governance">Docs: governance</a>.</li><li><strong>Sender constraint.</strong> DPoP on OAuth tokens for clients that opt in. AAuth request signing is the constraint for agent traffic. We do not issue certificate-bound tokens today.</li></ul><h3>Standards involved</h3><ul><li>OAuth 2.1 and OpenID Connect Core for sign-in and tokens</li><li>Token exchange, <a href="https://www.rfc-editor.org/rfc/rfc8693">RFC 8693</a>, including the act claim</li><li>Rich authorization requests, <a href="https://www.rfc-editor.org/rfc/rfc9396">RFC 9396</a></li><li>HTTP message signatures, <a href="https://www.rfc-editor.org/rfc/rfc9421">RFC 9421</a></li><li>Demonstrating proof of possession (DPoP), <a href="https://www.rfc-editor.org/rfc/rfc9449">RFC 9449</a></li><li>Protected resource metadata, <a href="https://www.rfc-editor.org/rfc/rfc9728">RFC 9728</a></li><li>MCP authorization specification, 2025–11–25 revision</li><li>OpenID client-initiated backchannel authentication (CIBA)</li><li>Shared Signals Framework with CAEP and RISC event profiles</li><li>SPIFFE JWT-SVID for workload identity</li></ul><p>The full list with spec links is on the <a href="https://docs.lumoauth.dev/reference/standards">standards reference</a>.</p><h3>FAQ</h3><p><strong>Is LumoAuth only for AI agents?</strong> No. Half the product is passwordless sign-in and enterprise SSO for people. Agents act for people, so both halves have to be in one place, or the delegation chain breaks at the boundary.</p><p><strong>Does an agent need a secret at all?</strong> Not when it runs somewhere that can vouch for it. GitHub Actions, Kubernetes, the major clouds and any OpenID Connect issuer can attest where the code runs, and LumoAuth exchanges that proof for a token. For a laptop or a long-running host, an AAuth key pair or a hashed API key is the fallback.</p><p><strong>What happens to the human’s identity when an agent calls an API?</strong> It stays in the token. The subject is the person; the act claim names the agent and anything that the agent delegated to, up to five hops. Your API receives both and your audit log keeps both.</p><p><strong>Can I keep my current identity provider?</strong> Yes. LumoAuth federates with any OpenID Connect or SAML provider for people, and imports agent records from Entra Agent ID, Okta, AWS AgentCore and Salesforce Agentforce so the governance layer sits across all of them.</p><p><strong>Is it open source?</strong> The SDKs and the generated API clients are published. The service itself is hosted, in a US or an EU region that you choose when you create your organization.</p><p><strong>How does this compare with Auth0 for AI Agents?</strong> Both offer a token vault and CIBA-based approval. LumoAuth also treats the agent as a registered principal with capabilities, a budget and a kill switch, signs agent requests with RFC 9421, and authorizes MCP servers per tool. A full comparison with dates is on the <a href="https://lumoauth.dev/compare/auth0/">Auth0 comparison page</a>.</p><p>Related: <a href="https://lumoauth.dev/solutions/ai-agent-identity/">AI agent identity</a> on the solutions pages, and the <a href="https://docs.lumoauth.dev/agents/architecture">agent architecture overview</a> in the docs.</p><p>Register your first agent at <a href="https://app.lumoauth.dev/register">app.lumoauth.dev/register</a>.</p><p><em>Originally published at </em><a href="https://blog.lumoauth.dev/ai-agent-identity/why-we-built-lumoauth/"><em>https://blog.lumoauth.dev/ai-agent-identity/why-we-built-lumoauth/</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46360bd963cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>