• Blog
  • Docs
  • Careers
  • Get Support
  • Contact Sales
DigitalOcean
  • Browse all products

    Featured AI Products

    Managed Agents

    Run AI agents in the cloud with governed tool access

    New

    Learning Services

    Improve agents and models with evidence

    New

    Data Services

    Store, retrieve, and surface the context you need

    Inference Engine

    Run inference at scale with policy-driven routing

    Model Library

    Discover, compare, and evaluate AI models

    GPU Droplets

    GPU-powered virtual machines to build and run AI apps

    Browse all products
  • See all solutions

    AI/ML

    AI HR Knowledge Assistant

    Deploy AI tools developed for Human Resources

    AI Training GPU

    Accelerate model training with dedicated GPU infrastructure

    AI Recommendation Engine

    Build tools to personalize user experiences

    Multimodal AI

    Run models that process multiple data types

    GPU Clusters

    GPUs clustered together for large-scale tasks

    GPU Inference

    Serve models efficiently with optimized GPU compute

  • Community

    Blog

    The latest product releases and insights from our experts

    The Wave

    Content to level up your business

    Tutorials

    Our extensive library of technical articles

    Q&A

    Answers to your cloud and coding questions

    YouTube

    Educational content and tutorials

    Visit DigitalOcean's Community Site
  • Become a Partner

    About Partner Pod

    Discounts, revenue share, and more for businesses

    AI Partner Program

    Boost your AI business

    DigitalOcean Startups

    Resources and support to propel your startup

    Partners Directory

    Current list of DigitalOcean Partners

    Customer Stories

    Customers growing on DigitalOcean

    Need help? Talk to an expert
    Become a Partner
  • Pricing
  • Log in
  • Sign up
  • Log in
  • Sign up

Company

AboutLeadershipBlogCareersCustomersPartnersReferral ProgramAffiliate ProgramPressLegalPrivacy PolicySecurityBrandInvestor Relations

Products

Managed AgentsKnowledge BasesGPU DropletsBare Metal GPUsInference EngineData ServicesLearning ServicesInsightsEvaluationsModel LibraryMicroVMsDropletsKubernetesFunctionsApp PlatformLoad BalancersManaged DatabasesSpacesBlock StorageNetwork File StorageAPIUptimeSecrets ManagerCloud Security Posture Management (CSPM)Identity and Access Management (IAM)CloudwaysView all Products

Resources

Community TutorialsCommunity Q&AWrite for DOnationsCurrents ResearchDigitalOcean StartupsWavemakers ProgramCompass CouncilOpen SourceNewsletter SignupMarketplacePricingPricing CalculatorDocumentationRelease NotesCode of ConductShop Swag

Solutions

AI Training GPUGPU InferenceVPS HostingWebsite HostingVPNDocker HostingNode.js HostingWeb Mobile AppsWordPress HostingVirtual MachinesView all Solutions

Contact

SupportSalesReport AbuseSystem StatusShare your ideas
AboutLeadershipBlogCareersCustomersPartnersReferral ProgramAffiliate ProgramPressLegalPrivacy PolicySecurityBrandInvestor Relations
Managed AgentsKnowledge BasesGPU DropletsBare Metal GPUsInference EngineData ServicesLearning ServicesInsightsEvaluationsModel LibraryMicroVMsDropletsKubernetesFunctionsApp PlatformLoad BalancersManaged DatabasesSpacesBlock StorageNetwork File StorageAPIUptimeSecrets ManagerCloud Security Posture Management (CSPM)Identity and Access Management (IAM)CloudwaysView all Products
Community TutorialsCommunity Q&AWrite for DOnationsCurrents ResearchDigitalOcean StartupsWavemakers ProgramCompass CouncilOpen SourceNewsletter SignupMarketplacePricingPricing CalculatorDocumentationRelease NotesCode of ConductShop Swag
AI Training GPUGPU InferenceVPS HostingWebsite HostingVPNDocker HostingNode.js HostingWeb Mobile AppsWordPress HostingVirtual MachinesView all Solutions
SupportSalesReport AbuseSystem StatusShare your ideas

© 2026 DigitalOcean, LLC.

Sitemap
Product updates

DigitalOcean Secrets Manager is now generally available: Manage application credentials in one place

author

By DigitalOcean

  • Updated: December 2, 2026
  • 6 min read
<- Back to blog home

As your application grows, managing its credentials becomes harder to keep up with. A database password shared across several services can require a coordinated update each time it changes, especially when each deployment maintains its own copy. A dedicated secrets service gives your team a central place to manage those credentials, but connecting an external platform to your DigitalOcean workloads adds work of its own.

DigitalOcean Secrets Manager is now generally available to eligible customers in supported regions. You can manage credentials centrally, control access through DigitalOcean IAM, and review activity in audit logs without operating separate secrets infrastructure. Secrets Manager also integrates with DigitalOcean Kubernetes (DOKS), so your pods can read secrets as mounted files without calling the Secrets Manager API.

In our recent article on how DigitalOcean manages credentials for autonomous agents, we explained how Managed Agents use connected services without holding the credentials themselves. Secrets Manager builds on the same underlying foundation to support the broader needs of your applications.

Manage credentials independently of your deployments

Changing a database password shouldn’t require rebuilding your application just because the old value was packaged with it. Secrets Manager lets you store that credential separately and retrieve it through the API, so credential values can change without being embedded in a new application build.

You can store a database username and password together in a named secret, with an external API key in another. Your application retrieves the values it needs to connect to those services. How it picks up a changed value depends on the application, which may need to reload its configuration or restart.

Deliver secrets to Kubernetes workloads

On DigitalOcean Kubernetes, a DigitalOcean provider for the Kubernetes Secrets Store CSI Driver mounts selected secret values as files in your pods, so application code doesn’t need to call the Secrets Manager API. When automatic secret rotation is enabled in the CSI Driver, the driver periodically checks for new secret versions and refreshes the mounted files. Each check counts as a retrieval request. Your application picks up the new value the next time it reads the file.

Secrets Manager stays the source of truth for the credential. See the DOKS integration documentation to set it up.

Keep control as your application grows

As more people work on your application, access to its credentials needs to remain deliberate. Secrets Manager checks each request against DigitalOcean IAM, so your team decides who can create, view, retrieve, or administer secrets. You remain responsible for the credentials you store, for granting access appropriately, and for securing your applications and the services that issue those credentials.

Audit logs are designed to record who requested or changed a secret and whether the request succeeded, without including the secret value. When something unexpected happens, audit logs can help provide a record to work from.

Update credentials without changing secret references

When you replace an API key, you can save the new value as a version of the existing secret. The secret’s name stays the same, so applications referencing it can retrieve the active version without needing a new secret reference in their configuration. Secrets Manager keeps the five most recent versions, so you can revert in the Control Panel or API if a new value causes problems.

This helps provide your team a consistent way to manage credential changes, while leaving you in control of the transition. Coordinate the replacement with the service that issues the key and verify that your application is using the new value before revoking the old one. Secrets Manager manages the stored versions; it does not automatically change credentials in the service that issued them.

Start with included usage and pay as you grow

Secrets Manager currently includes a monthly allowance of 25 secret-month equivalents and 100,000 successful retrieval requests per billing account. Beyond that allowance, you pay for how long you store secrets and how often they’re retrieved.

Capability Monthly allowance Rate above allowance
Secret storage 25 secret-month equivalents $0.40/secret-month equivalent
Successful retrieval requests 100,000 requests $0.05/10,000 requests

One secret stored for a full month equals one secret-month, with storage prorated for partial-month use. The allowance applies across your account’s projects and regions. Versioning and management operations currently carry no separate charge, and failed requests are currently not billed. Retrievals through the DigitalOcean Kubernetes integration count toward the same allowance and rate, including the checks the provider makes for new versions when automatic secret rotation is enabled. Your request volume depends on how many secrets your pods mount and how often the provider checks.

For example, storing 100 secrets for a full month and making 500,000 successful retrieval requests would cost $32: $30 for storage above the allowance and $2 for retrievals. See the pricing page for details. Prices are in U.S. dollars, exclude applicable taxes, and are subject to change. The example is illustrative only.

Get started with your first secret

Create a secret in the console

Start with a sample database password so you can try the workflow without using a live credential. Make sure you’re working in the intended DigitalOcean team and have permission to create secrets.

  1. Open Security → Secrets in the DigitalOcean Control Panel and select Create Secret.

  2. Name the secret app-database and select a supported region.

  3. Add a key named password with the dummy value demo-password-not-for-production. You can add related values, such as a username, as additional key-value pairs.

  4. Select Create Secret to save it.

Review your secret

Open the secret’s details page and confirm that app-database appears in the region you selected. Check that the password key is present and an active version is shown. Secret values are masked after they are stored.

Create a secret with doctl

Install a supported version of doctl and authenticate it for the intended account and team. Check your account connection with:

  1. doctl account get

The following example creates a separate secret named app-database-cli. Replace YOUR_SUPPORTED_REGION with a region available to your team. The password is a dummy value.

  1. doctl secrets create app-database-cli \
  2. --region YOUR_SUPPORTED_REGION \
  3. --value password=demo-password-not-for-production

Passing a real credential directly on the command line can leave it in shell history. For real credentials, use --interactive, which prompts for masked values, or --from-env-file.

Retrieve the secret

Use the supported retrieval command to read the value back and confirm the workflow before connecting your application.

  1. doctl secrets get app-database-cli --region YOUR_SUPPORTED_REGION --show

Use only the dummy credential for this example. Your application can then use the Secrets Manager API to retrieve its credentials.

Mount the secret in a DOKS cluster

Install the Secrets Store CSI Driver and the DigitalOcean provider on your cluster. Create a SecretProviderClass that references app-database, then configure your pod to mount a CSI volume that uses that class.

See the Secrets Manager documentation for full setup instructions and supported commands. Have additional questions or need assistance? Contact our support team.

What’s next for Secrets Manager

We are evaluating bringing Secrets Manager to more of the DigitalOcean services your applications run on, with priorities informed by customer feedback and other factors.

DigitalOcean Secrets Manager is now generally available. Create your first secret and connect it to the workloads that need it.

This blog post contains forward-looking statements within the meaning of the Private Securities Litigation Reform Act of 1995, including statements about planned product availability, features, and integrations. These statements reflect our current plans, are subject to risks and uncertainties that could cause actual results to differ materially, and are not a commitment to deliver any material, feature, or functionality. For more information on these risks, see the “Risk Factors” sections of DigitalOcean’s most recent Annual Report on Form 10-K and subsequent Quarterly Reports on Form 10-Q filed with the SEC. DigitalOcean undertakes no obligation to update these statements except as required by law.

About the author

DigitalOcean
DigitalOcean
Author
See author profile
See author profile

Share

  • Product Updates

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
Sign up

Related Articles

DigitalOcean Insights is now generally available: Unified observability across every layer of your stack
Product updates

DigitalOcean Insights is now generally available: Unified observability across every layer of your stack

Shridhar Pandey

  • November 24, 2026
  • 6 min read

Read more

QM, Y Combinator's Open-Source Agent Harness, Now Deploys in One Click on DigitalOcean
Product updates

QM, Y Combinator's Open-Source Agent Harness, Now Deploys in One Click on DigitalOcean

DigitalOcean
  • November 10, 2026
  • 2 min read

Read more

Introducing DigitalOcean Cuttlefish: Get more done with agents on the go
Product updates

Introducing DigitalOcean Cuttlefish: Get more done with agents on the go

DigitalOcean

  • November 5, 2026
  • 4 min read

Read more