DigitalOcean Secrets Manager

Store API keys, database credentials, OAuth tokens, and certificates in one place. Control access with DigitalOcean IAM and review who requested or changed a secret in audit logs. There’s no separate vault to run.

Potential risks Secrets Manager can help you guard against

Decorative wireframe globe inside an angular frame

Credentials can end up in source control

A credential committed to a repository may be visible to people who need the code but have no reason to use the credential. Store the value in Secrets Manager and use DigitalOcean IAM to control who can retrieve it.

Decorative overlapping orbits and measurement marks

Copies can fall out of sync

When several apps keep their own copy of a key, replacing it means updating each copy. Apps that retrieve the key from Secrets Manager can use the same secret name after you save a new value.

Decorative tracing lines converging on a point

Secret access can be hard to trace

During an incident, Secrets Manager audit logs can help you see who requested a secret, whether the request succeeded, and who changed it.

Manage secrets from creation to audit

One place for many credential types

  • Store API keys, database credentials, OAuth tokens, and certificates in one system of record.
  • Group related values, like a username and password, as key-value pairs in one secret.
  • Create secrets from existing environment files with doctl, so scattered config lands in one place.

Access control with DigitalOcean IAM

  • Limit who can view, retrieve, or manage secrets.
  • When access is no longer required, remove a user’s secret access through IAM.

Built-in secret versioning

  • Save a new value as a version while your app keeps the same secret name.
  • Replace a leaked or expiring key in one place instead of every deployment. Revoke the old key with the issuing service.
  • Revert to a retained version, or restore a deleted secret within 7 days.

Audit logs that exclude secret values

  • Review who requested or changed a secret, and whether the request succeeded.
  • Look into secret activity without the audit record showing the stored value.
  • Audit logs can help provide a record to work from during incidents and customer security reviews.

Automate secret updates

  • Create and update secrets from deploy pipelines with doctl or the API.
  • Feed a single secret value into scripts with one doctl command.
  • Use the Control Panel to review and edit secrets manually.
DigitalOcean Kubernetes

Deliver secrets to your pods without retrieval code

Secrets Manager integrates natively with DigitalOcean Kubernetes through a DigitalOcean provider for the open-source Secrets Store CSI Driver, a tool for delivering secrets into Kubernetes. Your secrets stay in DigitalOcean, with no external secrets vendor to add.

How secrets reach your pods

Choose which secrets a pod needs. The DigitalOcean provider mounts each secret as a file in memory at runtime. Apps that already read configuration from files can use the mounted files without code changes.

When you save a new version

With automatic secret rotation enabled, the provider checks Secrets Manager on an interval and updates mounted secrets when a value changes. Applications use the new value the next time they reread the file.

What you set up

Install the Secrets Store CSI Driver and the DigitalOcean provider, which runs on each node. Then create a SecretProviderClass that lists the secrets to mount.

Why teams choose Secrets Manager

Decorative concentric rings and measurement marks

One less system to run

Manage secrets on the same platform that runs your apps. Access goes through DigitalOcean IAM, usage appears on your existing DigitalOcean bill, and there’s no vault cluster to deploy or patch.

Decorative vertical bars with a highlighted reading

Retrieve secrets from your workloads

DigitalOcean Kubernetes pods can read secrets from mounted files. Workloads on DigitalOcean or elsewhere can also retrieve secrets through the API or doctl if they have API connectivity and the required IAM permissions.

Decorative circular wireframe

Secrets for AI apps and agents

Give your agents and AI apps the model and tool keys they need without hardcoding them. Control who can retrieve those keys with IAM, and see who accessed them in audit logs.

Decorative bar pattern with measurement marks

Start free, scale predictably

Start using Secrets Manager at no cost within the free allowance each billing account currently gets every month. After that, you pay for stored secrets and successful retrievals, and there are currently no per-seat or per-version fees.

Simple, predictable pricing

Each billing account currently receives a monthly allowance of 25 secret-month equivalents and 100,000 successful retrieval requests, free of charge. Beyond the allowance, stored secrets and successful retrieval requests are billed at the rates below. Failed requests and versioning are currently not billed.

DimensionPrice
Secrets$0.40/secret-month equivalent
Retrieval Requests$0.05/10,000 requests

Prices are in U.S. dollars, exclude applicable taxes, and are subject to change, as are allowances and billing units.

Frequently Asked Questions (FAQ)