Security and access
What to settle on keys and permissions before an agent or contractor touches your systems. Written for owners.
Written by the duyan team.
Articles
What to check before you give an AI agent your API keys
One key per agent, the narrowest permissions on offer, a cap on the bill, and a way to switch it off.
What an API key is, and why it isn’t a password
A key lets a program act for you within limits you set, and it leaks more easily than a password.
Why a new agent should start read-only
An agent that can’t write can’t change anything, so add each permission as it proves itself.
When a web page tells your agent what to do
Text an agent reads can carry orders, and narrow limits cap the harm they can do.
What OAuth scopes are, and which ones to refuse
The permission screen you click through when you connect a tool, read line by line.
What an MCP connection lets an agent touch
The standard way agents reach your tools, and why to check each connection.
Approvals people still read
How to keep an approval quick enough that people still read it.
How to remove a contractor’s access in one afternoon
When the person who built your tools leaves, find and revoke their keys, accounts and tokens.
Already running agents on your keys?
We review software, automations and agents that you or someone else built, and list what we’d fix first. About a week, $1,200 fixed, and you keep the written findings either way.

Bring your hardest question
Ask us about keys, access, where your data goes or who can switch it off.
Read-only by default. Your keys stay yours.