DigitalOcean's Secrets Manager keeps keys from AI agents. It is frank about where that stops
DigitalOcean now offers one place to store the keys that applications and AI agents use. Letting an agent use a tool without seeing the key is the right idea. The company is clear about what it cannot control.

DigitalOcean has made its Secrets Manager generally available, it said in a blog post listed on 4 December. A secret is a password, key or token that lets software sign in to another service. Secrets Manager is a single place to store those and control who can fetch them. The feature is aimed at AI agents, which are programs that carry out tasks by calling other tools. Its best idea is that an agent can use a tool without ever seeing the key. DigitalOcean is also plain about the limits.
What does DigitalOcean Secrets Manager do?
Secrets Manager stores credentials in one place and hands them out under rules the customer sets.
| Situation | How the secret is handled, from DigitalOcean's post |
|---|---|
| Agent runs in DigitalOcean Managed Agents | The agent uses a connected tool without receiving its secret |
| Agent runs elsewhere | The agent fetches the secret when needed, with a read-only token |
| A secret may have leaked | Revoke it at the service that issued it and store the replacement under the same name |
| Who can see or change a secret | Set through DigitalOcean's access controls, with audit logs |
It is available to eligible customers in supported regions. Each successful retrieval counts toward a monthly allowance.
Sponsored · Hostinger
20% off your first term on HostingerCloud, VPS and agency hosting. The discount is applied automatically through this link.Get the offerBaklinko is a Hostinger partner and earns a commission if you buy through this link.
Why does it matter that an agent never sees the key?
It matters because an agent reads things it cannot fully trust: emails, web pages, files. If the key sits in the agent's own settings, a hidden instruction in one of those sources could lead the agent to reveal it. A key the agent never holds cannot be given away by the agent.
That is how DigitalOcean's own agent service works with this feature. The key stays in Secrets Manager and is used on the agent's behalf for permitted calls. For companies handing real tasks to agents, that is a meaningful protection.
Agents running elsewhere still receive their keys. For those, the advice is to fetch the key only when needed, with a token that can read and cannot change anything. A key that is fetched on demand does not end up copied into code, logs and backups.

Where does the protection stop?
It stops once a key has been handed over. DigitalOcean says so directly: the service controls who can retrieve a secret, not what an agent does with it afterward. - Give each key only the permissions the task needs. - Set an expiry where the issuing service allows one. - Review the audit logs, which are designed to show who asked for a secret and whether the request succeeded.
The company adds that customers remain responsible for the credentials they store. A vendor stating that plainly is welcome.
The best case against this view
The strongest objection is that a store for secrets is an old idea with a new label. Careful teams have kept keys out of their code for years, and adding the word agent does not change the method. The strongest protection also applies only inside DigitalOcean's own agent service, which gives customers a reason to stay there. Charging by retrieval adds a cost that grows as agents make more calls.
Each point has force. The method is established, and that is a reason to trust it. The tie to DigitalOcean's own service is a cost customers should weigh. What is new is how many keys an agent may need and how exposed an agent is to hostile content, which makes old good practice more urgent.
The verdict
Secrets Manager is a sound, plainly described service. Teams using AI agents should keep keys out of agent settings whichever provider they use, and should limit every key as if it will leak. DigitalOcean should make its retrieval pricing easy to estimate before a team commits.
This is opinion and analysis, not investment or professional advice. Facts are attributed to the sources named in the piece. See our editorial policy and disclaimer, or request a correction.
Get the day's tech news by email
One short email a day with the stories that matter. Free.
Unsubscribe anytime. See the privacy policy.





