Create, limit and revoke the keys your agents use to connect to Agent Vault, and the apps connected through the hosted MCP server.
Give each agent its own API key, limited to the cards and logins it needs.
Creating a key takes about 2 minutes.
The API keys page with two keys.
An API key is a secret starting av_ that your agent uses to connect. It is
shown once, when you create it. Agent Vault keeps only a scrambled form of the
secret that cannot be turned back into the key, plus its first 12 characters in
readable form so you can tell your keys apart. See
What is stored.
Create a key
1
Open API keys
In the sidebar, under Vault, click API keys, then click New key.
2
Enter a Name
Only you see the name. Name it after the agent, such as grocery-agent.
Names are limited to 200 characters (leading and trailing spaces are not
counted). If the dialog shows Failed to create key, the name may be too
long: shorten it and click Create key again. The error code is
api_key_label_too_long.
3
Choose card access
Under Cards, keep All cards, or pick Only selected and tick cards.
Only selected also offers Also let this key pay from the agent
wallet. See
Pay from the agent wallet with chosen cards.
4
Choose login access
Under Logins, keep All logins, or pick Only selected and tick logins.
5
Leave signups off
Under Signing up, leave Let this key create and change its own logins
off unless this agent should open accounts for you. See Let a key create logins.
6
Choose verification
Under Verification, tick Fill a test card instead of my card only for
a key that tests checkouts. See Fill a test card instead.
7
Click Create key
8
Copy the key
In the Copy your key now panel, click Copy and store the key safely.
It is never shown again.
The New API key dialog.
The key is shown once, right after you create it.
To hand the key to your agent, open the setup steps on
Overview. Until you reload or
close the dashboard tab, those steps show this key filled in.When the agent first connects, its row shows Connected. Agent Vault also
tries to notify you, if An agent connects for the first time is on in
notification settings. That
notification is best effort.
An API key works like a password. Anything holding it can act as your agent,
within the key’s access and your agent card rules. Keep it out of code
repositories and shared documents.
The keys list
Column
What it shows
Key
The name, and the first characters of the key
Access
Full access, or which cards and logins it may use. Can create logins means signups are on. Test card only means it fills a test card. Can pay from the agent wallet means a key with chosen cards may also pay from the wallet
Agent
Connected and when the key was last used successfully (updated at most once a minute), or Waiting to connect…
Created
The date you created it
The Agent column’s last-used time updates when the key fetches the token
catalog, opens or resumes a browser session through the proxy, files a signup
request, or changes a login’s password or username. A refused request does not
update it. The time can lag by up to a minute.
Change a key’s access
1
Click Edit access on the key's row
The dialog shows the same Cards, Logins, Signing up and
Verification settings as when you created the key.
2
Click Save access
The change applies on the agent’s next attempt. The key itself does not change.
Setting
The key can use
All cards or All logins (default)
Every one you hold, including ones you add later
Only selected, some ticked
Only the ticked ones. You can tick as many as you hold
Only selected, nothing ticked
None. The dialog warns you
Why did a key lose a card I deleted and added again?
Access follows each card or login record, not its name or number. A re-added
card or login is a new record, so a key limited to the old one cannot use it.
Tick it again under Edit access.
Pay from the agent wallet with chosen cards
A key with All cards can also pay for API calls from your
agent wallet. A key with Only
selected cards cannot, unless you also tick Also let this key pay from the
agent wallet. The option is shown only with Only selected: with All
cards, the dialog says the key can already pay from the wallet.
It is off by default. Switching the key to All cards clears it, since
such a key already pays from the wallet.
It only lets the key pay from the wallet. The limits, seller list and
approvals of the agent cards on the wallet still apply, and so does
Pause all agents.
A key set to Fill a test card instead of my card never pays from the
wallet, ticked or not.
Without it, a wallet payment from a key with chosen cards is refused with
scope_denied, and its token catalog lists no wallets. The agent still
sees pay_request, and the catalog’s walletNote tells it to ask you for the
tick, so a key you tick later needs no reconnect.
Let a key create logins
Let this key create and change its own logins is off by default. Turn it on
only for an agent that should sign you up for new accounts. With it on, the agent
can:
ask to create a login. The vault generates the password. Each request waits
for your approval on Logins
unless the site and email are on your
Pre-approved signups list;
record the username a site assigned to a login it created;
change the password of a login it created.
The last two work only for this key, not another key on your account, and only
for seven days after the login was created. Seven days is the default; your
deployment can set a different window. They never work on a login you added
yourself, or on one whose password you replaced.A key set to Only selected logins has each login it creates added to its
list automatically. Once that list holds 50 or more logins, the next signup
cannot be approved. Untick logins to bring the list under 50, or switch the key
to All logins. The 50 cap applies only to logins the agent adds; logins you
tick yourself under Edit access are not capped.Storing a two-factor secret does not need this setting. Any key allowed to use a
login can store a two-factor secret for it during two-factor setup. It can never
replace an existing secret. Agent Vault tries to notify you each time a secret is
stored, but that alert is best effort. The 2FA chip on
Logins is the reliable record.
Fill a test card instead
Fill a test card instead of my card is off by default. Tick it for a key
that only checks that a site’s card fields work, such as a nightly test run,
without buying anything. When this key’s agent fills a card number or security
code (CVV), it gets a public Visa test card and a test code, never your card.
The test-card fills count against no spending limit.
Test-card fills never auto-pause an agent card and raise no card, limit or
pause alert.
Everything else still applies: the key’s first use sends An agent connects
for the first time, and an identity or address fill on a site you have not
authorized still waits for a
new-site approval.
Your real card is never used or charged.
The agent cannot tick or clear it. Only you can, under Edit access.
The test card does not make a merchant refuse the order. The practice checkout
and some payment sandboxes accept it and place the order. Let a test agent
submit only on a checkout meant for testing.
The setting is read when the agent starts a session. A session already open
keeps the old setting until the agent starts a new one. In the meantime:
if you just ticked it, the open session’s card fills are refused with
scope_denied, so your real card is never reached;
if you just cleared it, the open session keeps filling the test card.
An agent can check the setting with
browser.verificationOnly() before it fills.
Each test-card fill also reports card_fields_verified: true in its
fill report.
Revoke a key
Revoking is permanent. A revoked key cannot be turned back on: give the agent a
new key instead.
1
Click Revoke on the key's row
2
Click Revoke key
The key stops working at once. It can no longer fetch tokens, and a browser
session the agent already has open can no longer fill anything either. That
open session is closed at the proxy’s next key check, within about a minute.
Revoked keys are hidden. Click Show revoked to see them, marked Revoked
or Auto-revoked.
What happens when…
When
What happens
You revoke a key
It can fill nothing from that moment. An open session closes within about a minute. Agent Vault tries to notify you (best effort) on the channels you have turned on, while An API key is revoked is on
You change a key’s access
The next attempt uses the new access. Nothing to reconnect
A key tries another account’s token 3 times in 5 minutes
Agent Vault revokes it and shows Auto-revoked
An agent asks for its tokens too often
It is told to wait a few seconds. The limit depends on your plan, see Limits
You click Pause all agents
No key can fill anything until you resume
Connected apps
An agent connected through the
hosted MCP server has no API key.
Each sign-in becomes a connection instead. In the sidebar, under Vault,
click Connected apps to see them. They are not listed on API keys.A connection appears the first time the app calls Agent Vault with your account
after signing in. Each sign-in is its own connection, so one app can appear more
than once.
Column
What it shows
App
The app’s name, such as Muse or Claude Code, and its client id
Access
Choose what it may use until you choose access. Then which cards and logins it may use, such as All cards or 2 logins. Can sign up means it may create logins. Test card means it fills a test card. Can pay from the agent wallet means a connection with chosen cards may also pay from the wallet
Last used
When the app last used the connection, and the date it is Revoked if unused by
Connected
The date of the sign-in
The name is the one the app registered with. It is shown as Connected app
until you open Connected apps or Sessions after the app has connected.
Two sign-ins from the same app share the name, and often the client id. Tell
them apart by Connected and Last used.
Choose or change a connection’s access
1
Click Choose access on the connection's row
Once access has been chosen, the button reads Change access.
2
Set what this app may use
The What this app may use dialog has the same Cards and Logins
settings as a key, plus Let this app create and change its own logins
and Fill a test card instead of my card. With Only selected cards,
it also offers Also let this app pay from the agent wallet. They work as described above for
keys, in
Pay from the agent wallet with chosen cards
for the wallet.
3
Click Save access
The app’s next call uses it.
Until you save access the first time, the app cannot act for you at all. Its
calls are refused with access_not_chosen. Whatever you choose here, Agent
Vault still asks you before a purchase at or above the agent card’s Require
confirmation above amount.
Revoke a connection
Revoking a connection is permanent. To use the app again, sign in again, which
creates a new connection. Revoking in the app itself, or in your sign-in
settings, does not end the access the connection already has: revoke it here.
1
Click Revoke on the connection's row
2
Click Revoke connection
The connection stops working at once. A browser session it already has open
closes within about a minute.
Agent Vault tries to notify you (best effort), as for a revoked key, while An
API key is revoked is on.A connection that is not used by its Revoked if unused by date is revoked
automatically and shows Revoked: unused. By default that date is 31 days
after the last use. Revoked connections are hidden. Click Show revoked to see
them.An account can hold 200 connections in total. Revoked connections, including
ones marked Revoked: unused, still count, so revoking does not free a place.
At 200, the first call after
a new sign-in is refused with too_many_connections, while the connections you
already have keep working. To clear old connections, contact team@self.xyz.
See Limits.Each connection can hold at most 50 live credentials at once (roughly, 50 open
sessions). If the app is refused with too_many_credentials, close finished
sessions, or wait the number of seconds the message gives (at most 75 minutes).
See Limits for how credentials are counted.
For developers
Need
Where
Setting the key by hand (SELF_AGENT_PAY_API_KEY, SELF_AGENT_PAY_PROXY_URL and SELF_AGENT_PAY_API_URL)
Next:Overview to connect your agent with its new key.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Agent Vault","description":"Give an AI agent a card and an account without giving it your credentials.","colors":{"primary":"#3082F6","light":"#6FB7FF","dark":"#3082F6"},"logo":{"light":"https://mintcdn.com/self-labs/VeDWRFlNWGO5jQN6/logo/light.svg?fit=max\u0026auto=format\u0026n=VeDWRFlNWGO5jQN6\u0026q=85\u0026s=09ba2c4dfeda63776f014e6459a6d46a","dark":"https://mintcdn.com/self-labs/VeDWRFlNWGO5jQN6/logo/dark.svg?fit=max\u0026auto=format\u0026n=VeDWRFlNWGO5jQN6\u0026q=85\u0026s=68adb4a52a6ff784475a25e0f758336e","href":"/"},"favicon":"https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/favicon.svg?fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=f48c3659dbc8817cf6ecd8e10c0797cc","navbar":{"links":[{"href":"https://app.agentvault.io/dashboard","label":"Open dashboard"},{"href":"mailto:team@self.xyz","label":"Support"}],"primary":{"type":"button","label":"Connect your agent","href":"/agents/overview"}},"footer":{"socials":{"github":"https://github.com/selfxyz","x":"https://x.com/selfxyz"},"links":[{"header":"Company","items":[{"label":"Self Labs","href":"https://self.xyz"},{"label":"Support","href":"mailto:team@self.xyz"}]},{"header":"Legal","items":[{"label":"Privacy Notice","href":"https://self.xyz/privacy"},{"label":"Terms of Service","href":"https://self.xyz/terms"},{"label":"Report a vulnerability","href":"https://docs.agentvault.io/security/disclosure"}]}]},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge-high","href":"https://app.agentvault.io/dashboard"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"self-labs","hasAudioNarration":false,"actualSubdomain":"self-labs","customDomains":["docs.agentvault.io"],"gitSource":{"type":"github","owner":"selfxyz","repo":"agent-vault","deployBranch":"master","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":"","_id":"6b10fff59ffae5051c41d715"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b0581338d7bec1ff57044db","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"Documentation","count":26},{"language":"default","tag":"Security","count":18},{"language":"default","tag":"Reference","count":16},{"language":"default","tag":"Integrations","count":14},{"language":"default","tag":"Dashboard","count":12},{"language":"default","tag":"Connect agents","count":9},{"language":"default","tag":"Connect your agent","count":9},{"language":"default","tag":"Guides","count":8},{"language":"default","tag":"Get started","count":6},{"language":"default","tag":"Checkout recipe registry","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#content.mdx-content{height:auto!important}"}]}
{"page":{"pagePath":"dashboard/api-keys","slug":"/dashboard/api-keys","pageMetadata":{"title":"API keys","description":"Create, limit and revoke the keys your agents use to connect to Agent Vault, and the apps connected through the hosted MCP server.","href":"/dashboard/api-keys"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create, limit and revoke the keys your agents use to connect to Agent Vault, and the apps connected through the hosted MCP server.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,Frame,Heading,Note,OptimizedImage,Step,Steps,Table,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Give each agent its own API key, limited to the cards and logins it needs.\nCreating a key takes about 2 minutes.`}),`\n`,_jsxs(Frame,{caption:`The API keys page with two keys.`,children:[_jsx(OptimizedImage,{className:`mint-block dark:mint-hidden`,src:`https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-light.webp?fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=78a99566a8000fb42432d4602ad1f7f1`,alt:`The API keys page listing two keys, Shopping agent and Claude Code on laptop, each with its masked prefix, Full access, and whether its agent has connected: Connected 12m ago and Waiting to connect.`,\"data-og-width\":`2880`,width:`2880`,\"data-og-height\":`1800`,height:`1800`,\"data-path\":`images/dashboard/api-keys-light.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-light.webp?w=280\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=c20e6a7f81a43fffd6bcb905cdf4bc0f 280w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-light.webp?w=560\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=49877f201548047a0cba24c34256cc1b 560w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-light.webp?w=840\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=54d50c5839987c1990de48492c8bab78 840w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-light.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=0eef157db38fdfc60602d81ebbae01e7 1100w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-light.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=90e885966f4d3ec476668c3ead8a8b53 1650w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-light.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=b70d3e22f9f4814ed63647002a2752ef 2500w`}),_jsx(OptimizedImage,{className:`mint-hidden dark:mint-block`,src:`https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-dark.webp?fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=2a254a399b8616cab760a9fd87fdd072`,alt:`The API keys page listing two keys, Shopping agent and Claude Code on laptop, each with its masked prefix, Full access, and whether its agent has connected: Connected 12m ago and Waiting to connect.`,\"data-og-width\":`2880`,width:`2880`,\"data-og-height\":`1800`,height:`1800`,\"data-path\":`images/dashboard/api-keys-dark.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-dark.webp?w=280\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=99a8090a3719ef1f9dfa1c67c0810b42 280w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-dark.webp?w=560\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=88b80e3b430edf0885458515af8fbd1b 560w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-dark.webp?w=840\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=522eeb842cbddcacef174183ebbd05b9 840w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-dark.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=cab291b288767a7354c480b62c5d8246 1100w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-dark.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=152efb93b1abdcbf5cd01255f136196b 1650w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-dark.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=d5676f7848bd4d301870bef40b34f277 2500w`})]}),`\n`,_jsxs(_components.p,{children:[`An API key is a secret starting `,_jsx(_components.code,{children:`av_`}),` that your agent uses to connect. It is\nshown once, when you create it. Agent Vault keeps only a scrambled form of the\nsecret that cannot be turned back into the key, plus its first 12 characters in\nreadable form so you can tell your keys apart. See\n`,_jsx(_components.a,{href:`/dashboard/data-and-deletion#what-is-stored`,children:`What is stored`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`create-a-key`,children:`Create a key`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open API keys`,children:_jsxs(_components.p,{children:[`In the sidebar, under `,_jsx(_components.strong,{children:`Vault`}),`, click `,_jsx(_components.strong,{children:`API keys`}),`, then click `,_jsx(_components.strong,{children:`New key`}),`.`]})}),_jsxs(Step,{title:`Enter a Name`,children:[_jsxs(_components.p,{children:[`Only you see the name. Name it after the agent, such as `,_jsx(_components.code,{children:`grocery-agent`}),`.`]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`Names are limited to 200 characters (leading and trailing spaces are not\ncounted). If the dialog shows `,_jsx(_components.strong,{children:`Failed to create key`}),`, the name may be too\nlong: shorten it and click `,_jsx(_components.strong,{children:`Create key`}),` again. The error code is\n`,_jsx(_components.code,{children:`api_key_label_too_long`}),`.`]})})]}),_jsx(Step,{title:`Choose card access`,children:_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Cards`}),`, keep `,_jsx(_components.strong,{children:`All cards`}),`, or pick `,_jsx(_components.strong,{children:`Only selected`}),` and tick cards.\n`,_jsx(_components.strong,{children:`Only selected`}),` also offers `,_jsx(_components.strong,{children:`Also let this key pay from the agent\nwallet`}),`. See\n`,_jsx(_components.a,{href:`#pay-from-the-agent-wallet-with-chosen-cards`,children:`Pay from the agent wallet with chosen cards`}),`.`]})}),_jsx(Step,{title:`Choose login access`,children:_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Logins`}),`, keep `,_jsx(_components.strong,{children:`All logins`}),`, or pick `,_jsx(_components.strong,{children:`Only selected`}),` and tick logins.`]})}),_jsx(Step,{title:`Leave signups off`,children:_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Signing up`}),`, leave `,_jsx(_components.strong,{children:`Let this key create and change its own logins`}),`\noff unless this agent should open accounts for you. See `,_jsx(_components.a,{href:`#let-a-key-create-logins`,children:`Let a key create logins`}),`.`]})}),_jsx(Step,{title:`Choose verification`,children:_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Verification`}),`, tick `,_jsx(_components.strong,{children:`Fill a test card instead of my card`}),` only for\na key that tests checkouts. See `,_jsx(_components.a,{href:`#fill-a-test-card-instead`,children:`Fill a test card instead`}),`.`]})}),_jsx(Step,{title:`Click Create key`}),_jsx(Step,{title:`Copy the key`,children:_jsxs(_components.p,{children:[`In the `,_jsx(_components.strong,{children:`Copy your key now`}),` panel, click `,_jsx(_components.strong,{children:`Copy`}),` and store the key safely.\nIt is never shown again.`]})})]}),`\n`,_jsxs(Frame,{caption:`The New API key dialog.`,children:[_jsx(OptimizedImage,{className:`mint-block dark:mint-hidden`,src:`https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-create-light.webp?fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=63c0492842e6b043a6ae5f3d14c1f7e6`,alt:`The New API key dialog with a Name field, Cards and Logins access each set to All or Only selected, and the signup checkbox turned off.`,\"data-og-width\":`2880`,width:`2880`,\"data-og-height\":`1800`,height:`1800`,\"data-path\":`images/dashboard/api-keys-create-light.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-create-light.webp?w=280\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=45169f5b67e5d48153f2eb926e1060ab 280w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-create-light.webp?w=560\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=982f86f19ac22cbcd160216bf878113b 560w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-create-light.webp?w=840\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=2ddae4106be0d8adc47e262c02f75706 840w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-create-light.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=9b31bbd7df2111e839eb83237f8f1dff 1100w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-create-light.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=2b15bc25061df10861b90ea25a84f583 1650w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-create-light.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=8f1191718b873c7642bab7798c6adfa6 2500w`}),_jsx(OptimizedImage,{className:`mint-hidden dark:mint-block`,src:`https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-create-dark.webp?fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=cd506e7bb0a54692d00ce51df915d6ef`,alt:`The New API key dialog with a Name field, Cards and Logins access each set to All or Only selected, and the signup checkbox turned off.`,\"data-og-width\":`2880`,width:`2880`,\"data-og-height\":`1800`,height:`1800`,\"data-path\":`images/dashboard/api-keys-create-dark.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-create-dark.webp?w=280\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=a56a10be2ec3c35a44fdeca9731df02b 280w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-create-dark.webp?w=560\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=ab81532e5348ab876c086ff89c19db66 560w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-create-dark.webp?w=840\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=2a8ee073b2755389bd228007aec6e671 840w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-create-dark.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=67a6c173fc02a0347249e1d3fd941cf8 1100w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-create-dark.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=e0da5986efd249d82326ea6041911e7d 1650w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-create-dark.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=db5a49cc975848150eddbda6b8b8b3b1 2500w`})]}),`\n`,_jsxs(Frame,{caption:`The key is shown once, right after you create it.`,children:[_jsx(OptimizedImage,{className:`mint-block dark:mint-hidden`,src:`https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-new-key-light.webp?fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=1510f64dd325df95671fc81afad47883`,alt:`The Copy your key now panel showing the new key masked, with a Copy button and a pointer to the setup steps on the Overview.`,\"data-og-width\":`2336`,width:`2336`,\"data-og-height\":`482`,height:`482`,\"data-path\":`images/dashboard/api-keys-new-key-light.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-new-key-light.webp?w=280\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=8c35d5f91b45473d6efd9efe84074fd4 280w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-new-key-light.webp?w=560\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=2c125f2d2217ee8f65895f594bf713c4 560w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-new-key-light.webp?w=840\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=291a99b53821c6e8468a8947d32027d0 840w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-new-key-light.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=74c1b32ee1db36daa19eb17ac5d43f3d 1100w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-new-key-light.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=4c1bec57242f561d3985aabe4b3863ea 1650w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-new-key-light.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=bcfff555d86b1965b471c5c7282adfdc 2500w`}),_jsx(OptimizedImage,{className:`mint-hidden dark:mint-block`,src:`https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-new-key-dark.webp?fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=ebdad16a8730419fa7282836a109ad91`,alt:`The Copy your key now panel showing the new key masked, with a Copy button and a pointer to the setup steps on the Overview.`,\"data-og-width\":`2336`,width:`2336`,\"data-og-height\":`482`,height:`482`,\"data-path\":`images/dashboard/api-keys-new-key-dark.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-new-key-dark.webp?w=280\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=7539371fbb017d9d7e28f5e4db2b6991 280w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-new-key-dark.webp?w=560\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=08ab72106803fefbdb31782bb4f949c1 560w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-new-key-dark.webp?w=840\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=94515bf27da4c5bd55af8edeb389adb6 840w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-new-key-dark.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=c8b6607ca7c27dc1673e6d062b9646ae 1100w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-new-key-dark.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=3aba638ae60b5bd2e71f80a6e4fbfb31 1650w, https://mintcdn.com/self-labs/qQvThJRMtr_jh7i3/images/dashboard/api-keys-new-key-dark.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=qQvThJRMtr_jh7i3\u0026q=85\u0026s=a00b91f85fb4ff9338985c9c7b5ff39f 2500w`})]}),`\n`,_jsxs(_components.p,{children:[`To hand the key to your agent, open the setup steps on\n`,_jsx(_components.a,{href:`/dashboard/overview#connect-your-first-agent`,children:`Overview`}),`. Until you reload or\nclose the dashboard tab, those steps show this key filled in.`]}),`\n`,_jsxs(_components.p,{children:[`When the agent first connects, its row shows `,_jsx(_components.strong,{children:`Connected`}),`. Agent Vault also\ntries to notify you, if `,_jsx(_components.strong,{children:`An agent connects for the first time`}),` is on in\n`,_jsx(_components.a,{href:`/dashboard/approvals-and-notifications`,children:`notification settings`}),`. That\nnotification is best effort.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`An API key works like a password. Anything holding it can act as your agent,\nwithin the key’s access and your agent card rules. Keep it out of code\nrepositories and shared documents.`})}),`\n`,_jsx(Heading,{level:`2`,id:`the-keys-list`,children:`The keys list`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Column`}),_jsx(_components.th,{children:`What it shows`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Key`})}),_jsx(_components.td,{children:`The name, and the first characters of the key`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Access`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Full access`}),`, or which cards and logins it may use. `,_jsx(_components.strong,{children:`Can create logins`}),` means signups are on. `,_jsx(_components.strong,{children:`Test card only`}),` means it fills a test card. `,_jsx(_components.strong,{children:`Can pay from the agent wallet`}),` means a key with chosen cards may also pay from the wallet`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Agent`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Connected`}),` and when the key was last used successfully (updated at most once a minute), or `,_jsx(_components.strong,{children:`Waiting to connect…`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Created`})}),_jsx(_components.td,{children:`The date you created it`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Agent`}),` column’s last-used time updates when the key fetches the token\ncatalog, opens or resumes a browser session through the proxy, files a signup\nrequest, or changes a login’s password or username. A refused request does not\nupdate it. The time can lag by up to a minute.`]}),`\n`,_jsx(Heading,{level:`2`,id:`change-a-key’s-access`,children:`Change a key’s access`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Click Edit access on the key's row`,children:_jsxs(_components.p,{children:[`The dialog shows the same `,_jsx(_components.strong,{children:`Cards`}),`, `,_jsx(_components.strong,{children:`Logins`}),`, `,_jsx(_components.strong,{children:`Signing up`}),` and\n`,_jsx(_components.strong,{children:`Verification`}),` settings as when you created the key.`]})}),_jsx(Step,{title:`Click Save access`,children:_jsx(_components.p,{children:`The change applies on the agent’s next attempt. The key itself does not change.`})})]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Setting`}),_jsx(_components.th,{children:`The key can use`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`All cards`}),` or `,_jsx(_components.strong,{children:`All logins`}),` (default)`]}),_jsx(_components.td,{children:`Every one you hold, including ones you add later`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Only selected`}),`, some ticked`]}),_jsx(_components.td,{children:`Only the ticked ones. You can tick as many as you hold`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Only selected`}),`, nothing ticked`]}),_jsx(_components.td,{children:`None. The dialog warns you`})]})]})]}),`\n`,_jsx(Accordion,{title:`Why did a key lose a card I deleted and added again?`,id:`why-did-a-key-lose-a-card-i-deleted-and-added-again`,children:_jsxs(_components.p,{children:[`Access follows each card or login record, not its name or number. A re-added\ncard or login is a new record, so a key limited to the old one cannot use it.\nTick it again under `,_jsx(_components.strong,{children:`Edit access`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`pay-from-the-agent-wallet-with-chosen-cards`,children:`Pay from the agent wallet with chosen cards`}),`\n`,_jsxs(_components.p,{children:[`A key with `,_jsx(_components.strong,{children:`All cards`}),` can also pay for API calls from your\n`,_jsx(_components.a,{href:`/mcp/tool-reference#wallet-payments`,children:`agent wallet`}),`. A key with `,_jsx(_components.strong,{children:`Only\nselected`}),` cards cannot, unless you also tick `,_jsx(_components.strong,{children:`Also let this key pay from the\nagent wallet`}),`. The option is shown only with `,_jsx(_components.strong,{children:`Only selected`}),`: with `,_jsx(_components.strong,{children:`All\ncards`}),`, the dialog says the key can already pay from the wallet.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`It is off by default. Switching the key to `,_jsx(_components.strong,{children:`All cards`}),` clears it, since\nsuch a key already pays from the wallet.`]}),`\n`,_jsxs(_components.li,{children:[`It only lets the key pay from the wallet. The limits, seller list and\napprovals of the agent cards on the wallet still apply, and so does\n`,_jsx(_components.strong,{children:`Pause all agents`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`A key set to `,_jsx(_components.strong,{children:`Fill a test card instead of my card`}),` never pays from the\nwallet, ticked or not.`]}),`\n`,_jsxs(_components.li,{children:[`Without it, a wallet payment from a key with chosen cards is refused with\n`,_jsx(_components.code,{children:`scope_denied`}),`, and its token catalog lists no `,_jsx(_components.code,{children:`wallets`}),`. The agent still\nsees `,_jsx(_components.code,{children:`pay_request`}),`, and the catalog’s `,_jsx(_components.code,{children:`walletNote`}),` tells it to ask you for the\ntick, so a key you tick later needs no reconnect.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`let-a-key-create-logins`,children:`Let a key create logins`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Let this key create and change its own logins`}),` is off by default. Turn it on\nonly for an agent that should sign you up for new accounts. With it on, the agent\ncan:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`ask to create a login. The vault generates the password. Each request waits\nfor your `,_jsx(_components.a,{href:`/dashboard/logins#approve-an-agent-signup`,children:`approval on Logins`}),`\nunless the site and email are on your\n`,_jsx(_components.a,{href:`/dashboard/logins#pre-approved-signups`,children:_jsx(_components.strong,{children:`Pre-approved signups`})}),` list;`]}),`\n`,_jsx(_components.li,{children:`record the username a site assigned to a login it created;`}),`\n`,_jsx(_components.li,{children:`change the password of a login it created.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`The last two work only for this key, not another key on your account, and only\nfor seven days after the login was created. Seven days is the default; your\ndeployment can set a different window. They never work on a login you added\nyourself, or on one whose password you replaced.`}),`\n`,_jsxs(_components.p,{children:[`A key set to `,_jsx(_components.strong,{children:`Only selected`}),` logins has each login it creates added to its\nlist automatically. Once that list holds 50 or more logins, the next signup\ncannot be approved. Untick logins to bring the list under 50, or switch the key\nto `,_jsx(_components.strong,{children:`All logins`}),`. The 50 cap applies only to logins the agent adds; logins you\ntick yourself under `,_jsx(_components.strong,{children:`Edit access`}),` are not capped.`]}),`\n`,_jsxs(_components.p,{children:[`Storing a two-factor secret does not need this setting. Any key allowed to use a\nlogin can store a two-factor secret for it during two-factor setup. It can never\nreplace an existing secret. Agent Vault tries to notify you each time a secret is\nstored, but that alert is best effort. The `,_jsx(_components.strong,{children:`2FA`}),` chip on\n`,_jsx(_components.a,{href:`/dashboard/logins`,children:`Logins`}),` is the reliable record.`]}),`\n`,_jsx(Heading,{level:`2`,id:`fill-a-test-card-instead`,children:`Fill a test card instead`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Fill a test card instead of my card`}),` is off by default. Tick it for a key\nthat only checks that a site’s card fields work, such as a nightly test run,\nwithout buying anything. When this key’s agent fills a card number or security\ncode (CVV), it gets a public Visa test card and a test code, never your card.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The test-card fills count against no spending limit.`}),`\n`,_jsx(_components.li,{children:`Test-card fills never auto-pause an agent card and raise no card, limit or\npause alert.`}),`\n`,_jsxs(_components.li,{children:[`Everything else still applies: the key’s first use sends `,_jsx(_components.strong,{children:`An agent connects\nfor the first time`}),`, and an identity or address fill on a site you have not\nauthorized still waits for a\n`,_jsx(_components.a,{href:`/dashboard/destinations#approve-a-new-site`,children:`new-site approval`}),`.`]}),`\n`,_jsx(_components.li,{children:`Your real card is never used or charged.`}),`\n`,_jsxs(_components.li,{children:[`The agent cannot tick or clear it. Only you can, under `,_jsx(_components.strong,{children:`Edit access`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`An agent using it cannot run an `,_jsx(_components.a,{href:`/security/attested-detokenization`,children:`attested checkout`}),`.`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`The test card does not make a merchant refuse the order. The practice checkout\nand some payment sandboxes accept it and place the order. Let a test agent\nsubmit only on a checkout meant for testing.`})}),`\n`,_jsx(_components.p,{children:`The setting is read when the agent starts a session. A session already open\nkeeps the old setting until the agent starts a new one. In the meantime:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`if you just ticked it, the open session’s card fills are refused with\n`,_jsx(_components.code,{children:`scope_denied`}),`, so your real card is never reached;`]}),`\n`,_jsx(_components.li,{children:`if you just cleared it, the open session keeps filling the test card.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`An agent can check the setting with\n`,_jsx(_components.a,{href:`/sdk/api-reference#sdkbrowser`,children:_jsx(_components.code,{children:`browser.verificationOnly()`})}),` before it fills.\nEach test-card fill also reports `,_jsx(_components.code,{children:`card_fields_verified: true`}),` in its\n`,_jsx(_components.a,{href:`/sdk/api-reference#fillreport`,children:`fill report`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`revoke-a-key`,children:`Revoke a key`}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Revoking is permanent. A revoked key cannot be turned back on: give the agent a\nnew key instead.`})}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Click Revoke on the key's row`}),_jsx(Step,{title:`Click Revoke key`,children:_jsx(_components.p,{children:`The key stops working at once. It can no longer fetch tokens, and a browser\nsession the agent already has open can no longer fill anything either. That\nopen session is closed at the proxy’s next key check, within about a minute.`})})]}),`\n`,_jsxs(_components.p,{children:[`Revoked keys are hidden. Click `,_jsx(_components.strong,{children:`Show revoked`}),` to see them, marked `,_jsx(_components.strong,{children:`Revoked`}),`\nor `,_jsx(_components.strong,{children:`Auto-revoked`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-happens-when…`,children:`What happens when…`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`When`}),_jsx(_components.th,{children:`What happens`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`You revoke a key`}),_jsxs(_components.td,{children:[`It can fill nothing from that moment. An open session closes within about a minute. Agent Vault tries to notify you (best effort) on the channels you have turned on, while `,_jsx(_components.strong,{children:`An API key is revoked`}),` is on`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`You change a key’s access`}),_jsx(_components.td,{children:`The next attempt uses the new access. Nothing to reconnect`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`A key tries another account’s token 3 times in 5 minutes`}),_jsxs(_components.td,{children:[`Agent Vault revokes it and shows `,_jsx(_components.strong,{children:`Auto-revoked`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`An agent asks for its tokens too often`}),_jsxs(_components.td,{children:[`It is told to wait a few seconds. The limit depends on your plan, see `,_jsx(_components.a,{href:`/reference/limits`,children:`Limits`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`You click `,_jsx(_components.strong,{children:`Pause all agents`})]}),_jsx(_components.td,{children:`No key can fill anything until you resume`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`connected-apps`,children:`Connected apps`}),`\n`,_jsxs(_components.p,{children:[`An agent connected through the\n`,_jsx(_components.a,{href:`/mcp/setup#connect-to-the-hosted-server`,children:`hosted MCP server`}),` has no API key.\nEach sign-in becomes a connection instead. In the sidebar, under `,_jsx(_components.strong,{children:`Vault`}),`,\nclick `,_jsx(_components.strong,{children:`Connected apps`}),` to see them. They are not listed on `,_jsx(_components.strong,{children:`API keys`}),`.`]}),`\n`,_jsx(_components.p,{children:`A connection appears the first time the app calls Agent Vault with your account\nafter signing in. Each sign-in is its own connection, so one app can appear more\nthan once.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Column`}),_jsx(_components.th,{children:`What it shows`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`App`})}),_jsxs(_components.td,{children:[`The app’s name, such as `,_jsx(_components.strong,{children:`Muse`}),` or `,_jsx(_components.strong,{children:`Claude Code`}),`, and its client id`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Access`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Choose what it may use`}),` until you choose access. Then which cards and logins it may use, such as `,_jsx(_components.strong,{children:`All cards`}),` or `,_jsx(_components.strong,{children:`2 logins`}),`. `,_jsx(_components.strong,{children:`Can sign up`}),` means it may create logins. `,_jsx(_components.strong,{children:`Test card`}),` means it fills a test card. `,_jsx(_components.strong,{children:`Can pay from the agent wallet`}),` means a connection with chosen cards may also pay from the wallet`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Last used`})}),_jsxs(_components.td,{children:[`When the app last used the connection, and the date it is `,_jsx(_components.strong,{children:`Revoked if unused by`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Connected`})}),_jsx(_components.td,{children:`The date of the sign-in`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`The name is the one the app registered with. It is shown as `,_jsx(_components.strong,{children:`Connected app`}),`\nuntil you open `,_jsx(_components.strong,{children:`Connected apps`}),` or `,_jsx(_components.strong,{children:`Sessions`}),` after the app has connected.\nTwo sign-ins from the same app share the name, and often the client id. Tell\nthem apart by `,_jsx(_components.strong,{children:`Connected`}),` and `,_jsx(_components.strong,{children:`Last used`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`choose-or-change-a-connection’s-access`,children:`Choose or change a connection’s access`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Click Choose access on the connection's row`,children:_jsxs(_components.p,{children:[`Once access has been chosen, the button reads `,_jsx(_components.strong,{children:`Change access`}),`.`]})}),_jsx(Step,{title:`Set what this app may use`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`What this app may use`}),` dialog has the same `,_jsx(_components.strong,{children:`Cards`}),` and `,_jsx(_components.strong,{children:`Logins`}),`\nsettings as a key, plus `,_jsx(_components.strong,{children:`Let this app create and change its own logins`}),`\nand `,_jsx(_components.strong,{children:`Fill a test card instead of my card`}),`. With `,_jsx(_components.strong,{children:`Only selected`}),` cards,\nit also offers `,_jsx(_components.strong,{children:`Also let this app pay from the agent wallet`}),`. They work as described above for\nkeys, in\n`,_jsx(_components.a,{href:`#pay-from-the-agent-wallet-with-chosen-cards`,children:`Pay from the agent wallet with chosen cards`}),`\nfor the wallet.`]})}),_jsx(Step,{title:`Click Save access`,children:_jsx(_components.p,{children:`The app’s next call uses it.`})})]}),`\n`,_jsxs(_components.p,{children:[`Until you save access the first time, the app cannot act for you at all. Its\ncalls are refused with `,_jsx(_components.code,{children:`access_not_chosen`}),`. Whatever you choose here, Agent\nVault still asks you before a purchase at or above the agent card’s `,_jsx(_components.strong,{children:`Require\nconfirmation above`}),` amount.`]}),`\n`,_jsx(Heading,{level:`3`,id:`revoke-a-connection`,children:`Revoke a connection`}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Revoking a connection is permanent. To use the app again, sign in again, which\ncreates a new connection. Revoking in the app itself, or in your sign-in\nsettings, does not end the access the connection already has: revoke it here.`})}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Click Revoke on the connection's row`}),_jsx(Step,{title:`Click Revoke connection`,children:_jsx(_components.p,{children:`The connection stops working at once. A browser session it already has open\ncloses within about a minute.`})})]}),`\n`,_jsxs(_components.p,{children:[`Agent Vault tries to notify you (best effort), as for a revoked key, while `,_jsx(_components.strong,{children:`An\nAPI key is revoked`}),` is on.`]}),`\n`,_jsxs(_components.p,{children:[`A connection that is not used by its `,_jsx(_components.strong,{children:`Revoked if unused by`}),` date is revoked\nautomatically and shows `,_jsx(_components.strong,{children:`Revoked: unused`}),`. By default that date is 31 days\nafter the last use. Revoked connections are hidden. Click `,_jsx(_components.strong,{children:`Show revoked`}),` to see\nthem.`]}),`\n`,_jsxs(_components.p,{children:[`An account can hold 200 connections in total. Revoked connections, including\nones marked `,_jsx(_components.strong,{children:`Revoked: unused`}),`, still count, so revoking does not free a place.\nAt 200, the first call after\na new sign-in is refused with `,_jsx(_components.code,{children:`too_many_connections`}),`, while the connections you\nalready have keep working. To clear old connections, contact `,_jsx(_components.a,{href:`mailto:team@self.xyz`,children:`team@self.xyz`}),`.\nSee `,_jsx(_components.a,{href:`/reference/limits#ceilings`,children:`Limits`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Each connection can hold at most 50 live credentials at once (roughly, 50 open\nsessions). If the app is refused with `,_jsx(_components.code,{children:`too_many_credentials`}),`, close finished\nsessions, or wait the number of seconds the message gives (at most 75 minutes).\nSee `,_jsx(_components.a,{href:`/reference/limits#ceilings`,children:`Limits`}),` for how credentials are counted.`]}),`\n`,_jsx(Heading,{level:`2`,id:`for-developers`,children:`For developers`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Need`}),_jsx(_components.th,{children:`Where`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Setting the key by hand (`,_jsx(_components.code,{children:`SELF_AGENT_PAY_API_KEY`}),`, `,_jsx(_components.code,{children:`SELF_AGENT_PAY_PROXY_URL`}),` and `,_jsx(_components.code,{children:`SELF_AGENT_PAY_API_URL`}),`)`]}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/reference/environment-variables`,children:`Environment variables`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Key errors: `,_jsx(_components.code,{children:`invalid_api_key`}),`, `,_jsx(_components.code,{children:`key_revoked`}),`, `,_jsx(_components.code,{children:`key_auto_revoked`}),`, `,_jsx(_components.code,{children:`scope_denied`}),`, `,_jsx(_components.code,{children:`cross_user_denied`}),`, `,_jsx(_components.code,{children:`signup_not_enabled`}),`, `,_jsx(_components.code,{children:`rate_limited`})]}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/sdk/error-codes`,children:`Error codes`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Catalog rate limits and `,_jsx(_components.code,{children:`Retry-After`})]}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/reference/limits`,children:`Limits`})})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Next:`}),` `,_jsx(_components.a,{href:`/dashboard/overview#connect-your-first-agent`,children:`Overview`}),` to connect your agent with its new key.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"API keys","description":"Create, limit and revoke the keys your agents use to connect to Agent Vault, and the apps connected through the hosted MCP server.","href":"/dashboard/api-keys"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Create a key","slug":"create-a-key","depth":2,"children":[]},{"title":"The keys list","slug":"the-keys-list","depth":2,"children":[]},{"title":"Change a key’s access","slug":"change-a-key’s-access","depth":2,"children":[{"title":"Pay from the agent wallet with chosen cards","slug":"pay-from-the-agent-wallet-with-chosen-cards","depth":3,"children":[]}]},{"title":"Let a key create logins","slug":"let-a-key-create-logins","depth":2,"children":[]},{"title":"Fill a test card instead","slug":"fill-a-test-card-instead","depth":2,"children":[]},{"title":"Revoke a key","slug":"revoke-a-key","depth":2,"children":[]},{"title":"What happens when…","slug":"what-happens-when…","depth":2,"children":[]},{"title":"Connected apps","slug":"connected-apps","depth":2,"children":[{"title":"Choose or change a connection’s access","slug":"choose-or-change-a-connection’s-access","depth":3,"children":[]},{"title":"Revoke a connection","slug":"revoke-a-connection","depth":3,"children":[]}]},{"title":"For developers","slug":"for-developers","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/self-labs/fdd1fd97694019ab/agent-menu.js"],"dynamicCss":".mint-block {\n display: block\n}\n.mint-hidden {\n display: none\n}\n.dark\\:mint-block:is(.dark *) {\n display: block\n}\n.dark\\:mint-hidden:is(.dark *) {\n display: none\n}","subdomain":"self-labs","siteName":"Agent Vault","title":"API keys - Agent Vault","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-24T12:21:13.010Z","originalFileLocation":"dashboard/api-keys.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create, limit and revoke the keys your agents use to connect to Agent Vault, and the apps connected through the hosted MCP server.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Agent Vault\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/self-labs/i7Sju450vUQD0lrx/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/self-labs/i7Sju450vUQD0lrx/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/self-labs/i7Sju450vUQD0lrx/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/self-labs/i7Sju450vUQD0lrx/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/self-labs/i7Sju450vUQD0lrx/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/self-labs/i7Sju450vUQD0lrx/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/self-labs/i7Sju450vUQD0lrx/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/self-labs/i7Sju450vUQD0lrx/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/self-labs/i7Sju450vUQD0lrx/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"API keys - Agent Vault\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create, limit and revoke the keys your agents use to connect to Agent Vault, and the apps connected through the hosted MCP server.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Agent Vault\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.agentvault.io/dashboard/api-keys\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://self-labs.mintlify.site/_mintlify/api/og/v2?division=Dashboard\u0026amp;title=API+keys\u0026amp;description=Create%2C+limit+and+revoke+the+keys+your+agents+use+to+connect+to+Agent+Vault%2C+and+the+apps+connected+through+the+hosted+MCP+server.\u0026amp;theme=dd509487881aea64defe7213\u0026amp;signature=57560b8acbf1fd2c0e96857f08cc455de5e76818263daa51d6b686c83673f8a6\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"API keys - Agent Vault\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create, limit and revoke the keys your agents use to connect to Agent Vault, and the apps connected through the hosted MCP server.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://self-labs.mintlify.site/_mintlify/api/og/v2?division=Dashboard\u0026amp;title=API+keys\u0026amp;description=Create%2C+limit+and+revoke+the+keys+your+agents+use+to+connect+to+Agent+Vault%2C+and+the+apps+connected+through+the+hosted+MCP+server.\u0026amp;theme=dd509487881aea64defe7213\u0026amp;signature=57560b8acbf1fd2c0e96857f08cc455de5e76818263daa51d6b686c83673f8a6\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/self-labs/i7Sju450vUQD0lrx/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Agent Vault\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3082F6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.agentvault.io/dashboard/api-keys\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/dashboard/api-keys.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.agentvault.io/#organization\",\"name\":\"Agent Vault\",\"url\":\"https://docs.agentvault.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/self-labs/VeDWRFlNWGO5jQN6/logo/light.svg?fit=max\u0026auto=format\u0026n=VeDWRFlNWGO5jQN6\u0026q=85\u0026s=09ba2c4dfeda63776f014e6459a6d46a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.agentvault.io#website\",\"name\":\"Agent Vault\",\"url\":\"https://docs.agentvault.io\",\"publisher\":{\"@id\":\"https://docs.agentvault.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.agentvault.io/dashboard/api-keys#webpage\",\"url\":\"https://docs.agentvault.io/dashboard/api-keys\",\"name\":\"API keys\",\"description\":\"Create, limit and revoke the keys your agents use to connect to Agent Vault, and the apps connected through the hosted MCP server.\",\"dateModified\":\"2026-11-24T12:21:13.010Z\",\"isPartOf\":{\"@id\":\"https://docs.agentvault.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.agentvault.io/dashboard/api-keys#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.agentvault.io/dashboard/api-keys#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Dashboard\",\"item\":\"https://docs.agentvault.io/dashboard/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API keys\",\"item\":\"https://docs.agentvault.io/dashboard/api-keys\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.agentvault.io/dashboard/api-keys#article\",\"headline\":\"API keys\",\"name\":\"API keys\",\"description\":\"Create, limit and revoke the keys your agents use to connect to Agent Vault, and the apps connected through the hosted MCP server.\",\"url\":\"https://docs.agentvault.io/dashboard/api-keys\",\"mainEntityOfPage\":{\"@id\":\"https://docs.agentvault.io/dashboard/api-keys#webpage\"},\"dateModified\":\"2026-11-24T12:21:13.010Z\",\"publisher\":{\"@id\":\"https://docs.agentvault.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.agentvault.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Agent Vault\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Agent Vault\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/dashboard/api-keys.md","siteName":"Agent Vault","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge-high","href":"https://app.agentvault.io/dashboard"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Get started","icon":"rocket","pages":[{"title":"What is Agent Vault","href":""},{"title":"Quickstart","href":"/get-started/quickstart"},{"title":"Core concepts","href":"/get-started/concepts"},{"title":"How it works","href":"/get-started/how-it-works"},{"title":"Choose an integration","href":"/get-started/choose-an-integration"},{"title":"FAQ","href":"/get-started/faq"}]},{"group":"Guides","icon":"map","pages":[{"title":"Run a checkout end to end","href":"/guides/first-checkout"},{"title":"Quick checkout","href":"/guides/quick-checkout"},{"title":"Sign in to a site","href":"/guides/sign-in"},{"title":"Let an agent open an account","href":"/guides/agent-signup"},{"title":"Handle challenges","href":"/guides/challenges"},{"title":"Live CVV entry","href":"/guides/live-cvv"},{"title":"Page hints","href":"/guides/page-hints"},{"title":"Confirming what happened","href":"/guides/confirming-outcomes"}]},{"group":"Dashboard","icon":"gauge","pages":[{"title":"Dashboard overview","href":"/dashboard/overview"},{"title":"Cards","href":"/dashboard/cards"},{"title":"Wallet","href":"/dashboard/wallet"},{"title":"Agent cards","href":"/dashboard/agent-cards"},{"title":"Logins","href":"/dashboard/logins"},{"title":"Identity and addresses","href":"/dashboard/identity-and-addresses"},{"title":"Destinations","description":"Choose the sites where your agent may use your saved identity, addresses and card details.","href":"/dashboard/destinations"},{"title":"API keys","href":"/dashboard/api-keys"},{"title":"Approvals and notifications","description":"Answer the requests that pause your agent, and choose how Agent Vault reaches you.","href":"/dashboard/approvals-and-notifications"},{"title":"Activity","href":"/dashboard/activity"},{"title":"Billing and plans","href":"/dashboard/billing"},{"title":"Data and deletion","href":"/dashboard/data-and-deletion"}]}]},{"tab":"Connect agents","icon":"plug","pages":[{"title":"Connect agents","href":"/agents/overview"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/mcp/setup"}]},{"tab":"Security","pages":[{"title":"Security","href":"/security/model"}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/reference/http-api"}]}]},"basePath":"","title":"API keys - Agent Vault","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-B-OFTXBF.js","DynamicMarkdown-CvOkzads.js","zoom-image-lightbox-B9SB_e-W.js","lightbox-handle-r17bVUz3.js"]}