Choose the right credential
Generate SDK keys
Via dashboard
1
Open the agent
Go to Agents and select the agent that will use the key.
2
Create a key
Open the Connect tab and click Generate SDK key.
3
Choose a preset
Select Audit only for agent audit records, Standard for the payment lifecycle plus read
access, or Admin if the agent also manages agents, wallets, or policies. Only organization
owners and admins can create audit-only or admin keys, or any key for an agent that can spend
from a managed wallet, a card assigned to it, or a Stripe Link wallet connected through Conto.
4
Set expiration
Choose 30, 90, or 180 days, 1 year (the default), or 2 years (the maximum).
5
Copy the secret
Via API
"keyType": "audit_only" for a key with the single scope audit:read. An issuing organization API key must also hold that scope or the admin scope. The audit-only key expires no later than its issuer.
To create an admin key with "keyType": "admin", use an organization API key with the admin
scope, or one with team:write that also holds every Standard preset scope except
team:read. A team:write key missing any of those gets 403 with
missingScopes. The new admin key expires no later than the organization key that created it.
Scopes
A scope authorizes an operation. Wallet links, policies, spend limits, approvals, and resource ownership still decide what a key can pay.Agent key presets
Standard is the default. x402 and MPP recording requirepayments:execute, not
transactions:write, so they work with a standard key.
Admin SDK keys
Admin keys add the scopes that Standard lacks: audit reads, write access to agents, wallets, policies, counterparties, and alerts, retries of failed transfers, policy change requests, andmerchant:purchase (off unless Conto enables it for your organization). On organization endpoints
an admin key acts with Manager permissions for the whole organization. Admin keys do not include
team management, organization settings, or the organization admin super-scope, and an admin key
cannot create SDK keys of either type.
An admin key never loosens its own agent’s controls. It cannot change its own profile, wallet links,
limits, freeze settings, or card access. On any agent, it cannot link a wallet, loosen a wallet link, unfreeze or reactivate an agent, or change the owner, public key, callback URL, allowed contexts, identity
tags, or attestation mode. It also cannot assign or edit card access, or resume paused card access. It can still pause, and revoke another agent’s card access.
It cannot add, change, test, or delete notification channels.
Make those changes in the dashboard or with an organization API key.
An admin key can only tighten policies, including the ones that govern its own agent. It can create
a policy, add rules, lower an amount limit, rename a policy, and turn a policy on. It cannot turn a
policy off, change its priority or scope, delete it, raise a limit, delete or otherwise loosen its
rules, or roll it back. Conto refuses those with 403 and code AGENT_KEY_TIGHTEN_ONLY. The agent
proposes them with POST /api/sdk/owner-actions, and an owner confirms each one on a review page.
Organization API key scopes
Only Owners create organization API keys, in Developers > API keys or withPOST /api/api-keys.
Organization keys always expire: expiresInDays defaults to 365, which is also the maximum. The
dashboard offers three presets, and the API also accepts individual scopes.
Available scopes:
agents, wallets, transactions, policies, counterparties, and alerts
(each :read and :write), plus analytics:read, audit:read, team:read, team:write,
org:read, org:write, spending:reconcile, and admin. Of the presets, only Admin can reconcile a shared budget purchase.
Revoke keys
Via dashboard
- Go to Agents
- Open the agent
- Open the Connect tab
- Click the trash icon next to the key, then Revoke SDK key
Via API
Best practices
- Store SDK keys in a secrets manager, not in source control.
- Use separate keys for development, staging, and production.
- Prefer standard keys unless the agent needs elevated management access.
- Standard keys can move funds. Limit what they can spend with policies, spend limits, and approvals.
- Rotate keys on a schedule instead of waiting for emergency revocations.