Softwr

Machine Learning · head to head

AWS Secrets Manager vs DVC

AWS Secrets Manager logo

AWS Secrets Manager

Machine Learning

Managed store for database credentials and API keys with automatic rotation

From
$0.4/month
Free plan
No
DVC logo

DVC

Machine Learning

Git-style versioning for data sets and models, with the files kept in object storage

From
Free
Free plan
Yes

The short version

  • DVC is free; AWS Secrets Manager starts at $0.4/mo.
  • Only AWS Secrets Manager lists automatic rotation; only DVC lists remote storage backends.
  • Where AWS Secrets Manager falls short: replica secrets are billed as full secrets, which doubles or triples the cost of multi-Region storage.

How do AWS Secrets Manager and DVC differ?

AWS Secrets Manager and DVC differ on starting price ($0.4/month against Free), pricing model and free tier (No against Yes). Only the attributes on which AWS Secrets Manager and DVC actually diverge.

Attributes where AWS Secrets Manager and DVC differ
AttributeAWS Secrets ManagerDVC
Starting price$0.4/monthFree
Pricing modelPer secret per month plus per 10,000 API callsOpen-source
Free tierNoYes
PlatformsWebLinux, macOS, Windows

Not yet recorded: category for AWS Secrets Manager, founded for AWS Secrets Manager.

Which features does each one have?

They share no listed features; 6 appear only for AWS Secrets Manager and 8 only for DVC. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in AWS Secrets Manager

  • Automatic rotation
  • KMS encryption
  • Cross-Region replication
  • Fine-grained access
  • Audit trail
  • Versioning

Only in DVC

  • Pointer-file versioning
  • Remote storage backends
  • Pipeline definitions
  • Stage caching
  • Experiment tracking
  • Metrics and plots comparison
  • Data registry pattern
  • Content-addressed cache

What is each one used for?

AWS Secrets Manager is most often brought in for rotating RDS or Aurora database passwords on a schedule without code changes. The jobs each tool is most often brought in to do.

AWS Secrets Manager

  • Rotating RDS or Aurora database passwords on a schedule without code changesnot DVC
  • Giving ECS tasks and Lambda functions credentials at runtime instead of in environment filesnot DVC
  • Replicating secrets to a second Region for disaster recoverynot DVC
  • Centralising third-party API keys with audit logs for compliancenot DVC

DVC

  • Making a model reproducible by tying the exact data set version, code commit and parameters together in one Git historynot AWS Secrets Manager
  • Keeping large training data out of Git while still having a repository that describes it preciselynot AWS Secrets Manager
  • Skipping expensive preprocessing stages that have not changed, when iterating on a later stage of a pipelinenot AWS Secrets Manager
  • Teams that need reproducibility but cannot get approval or budget to stand up a platform for itnot AWS Secrets Manager

Where do AWS Secrets Manager and DVC fall short?

AWS Secrets Manager's most cited limit: replica secrets are billed as full secrets, which doubles or triples the cost of multi-Region storage. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

AWS Secrets Manager

  • The $0.40 per secret fee applies to every secret including rarely used ones, so organisations with thousands of per-service secrets see a steady monthly charge
  • Replica secrets are billed as full secrets, which doubles or triples the cost of multi-Region storage
  • Rotation for anything other than the supported AWS databases means writing and maintaining your own Lambda function
  • It stores static secrets only; unlike HashiCorp Vault it does not issue short-lived dynamic credentials for many targets
  • It is AWS-only, so workloads on other clouds or on-premises must call AWS APIs across the network, tying their secret access to AWS availability

DVC

  • DVC knows only about files that were added through DVC, so one person copying data in by hand leaves a pipeline that reproduces to a different answer with no error and nothing to indicate which result is the real one
  • Every tracked revision writes a new pointer into Git and a new copy into the remote cache, so a data set revised daily accumulates full copies in object storage and the storage bill grows with the length of the history rather than the size of the data
  • Merge conflicts in dvc.lock and dvc.yaml are routine on parallel branches and are unreadable to anyone who has not learned the format, which in practice means the person who introduced DVC resolves all of them
  • Checking out a large data set materialises it in the working directory, so a laptop working against a repository with several hundred gigabytes tracked needs disk for the workspace and the cache together, and the reflink or hardlink optimisations that avoid doubling that are filesystem-dependent
  • It has no access control of its own and inherits whatever the remote grants, so a repository everyone can read plus a bucket everyone can read means everyone can reconstruct every historical version of every data set, which is frequently not what was intended

How much do AWS Secrets Manager and DVC cost?

AWS Secrets Manager starts at $0.4/mo; DVC is free to use. Plan by plan below, from each vendor's own pricing page.

AWS Secrets Manager

$0.4/month
  • Secrets$0.4/mo
    • $0.40 per secret per month, prorated hourly
    • Each replica secret is billed as a separate secret
  • API callsOn request
    • $0.05 per 10,000 API calls
    • Rotation, retrieval and management calls all count

DVC

Free
  • Open SourceFree
    • Data versioning
    • Pipeline management
    • Experiment tracking
  • DVC StudioFree
    • Web UI
    • Team collaboration
    • Visualizations

Which should you pick?

Choose AWS Secrets Manager if

  • You need automatic rotation.
  • You also want kms encryption.

Choose DVC if

  • You need pointer-file versioning.
  • You want to start without paying.
  • You work on Linux, macOS, Windows.
  • You also want remote storage backends.

Questions people ask

Is AWS Secrets Manager or DVC better?
It depends on the job. AWS Secrets Manager fits rotating RDS or Aurora database passwords on a schedule without code changes; DVC fits making a model reproducible by tying the exact data set version, code commit and parameters together in one Git history. AWS Secrets Manager starts at $0.4/month and DVC at Free.
Which is cheaper, AWS Secrets Manager or DVC?
DVC has a free tier; the other does not. Paid plans start at $0.4/month for AWS Secrets Manager and Free for DVC.
Does AWS Secrets Manager or DVC run on more platforms?
AWS Secrets Manager runs on Web. DVC runs on Linux, macOS, Windows.
Can I use DVC for free?
Yes. DVC has a free tier, so you can try it without paying. AWS Secrets Manager starts at $0.4/month.
What is AWS Secrets Manager best used for?
AWS Secrets Manager is most often used for rotating rds or aurora database passwords on a schedule without code changes, giving ecs tasks and lambda functions credentials at runtime instead of in environment files, replicating secrets to a second region for disaster recovery, centralising third-party api keys with audit logs for compliance. Of those, rotating rds or aurora database passwords on a schedule without code changes and giving ecs tasks and lambda functions credentials at runtime instead of in environment files are not what DVC is typically brought in for.
What can AWS Secrets Manager do that DVC cannot?
AWS Secrets Manager covers Automatic rotation, KMS encryption, Cross-Region replication, Fine-grained access. DVC covers Pointer-file versioning, Remote storage backends, Pipeline definitions, Stage caching.

Answered from the vendors’ own pages

AWS Secrets Manager: How much does Secrets Manager cost?

$0.40 per secret per month and $0.05 per 10,000 API calls, per the AWS pricing page. A replica in another Region is billed as another secret.

DVC: Does DVC put my data in Git?

No. Git gets a small pointer file containing a hash. The data goes to a cache on disk and to a remote you configure, such as an S3 bucket.

AWS Secrets Manager: Is Secrets Manager cheaper than Parameter Store?

Parameter Store standard parameters carry no charge, so for static values that do not need rotation it is cheaper. Secrets Manager adds rotation and replication.

DVC: Do I need to run a server?

No, and that is most of its appeal. It is a command line tool plus storage you already have. DVC Studio, the hosted web interface, is optional and separately paid.

AWS Secrets Manager: Does it rotate secrets automatically?

Yes. It has managed rotation for supported AWS databases and uses Lambda functions for other secret types.

DVC: How is it different from Git LFS?

Git LFS versions large files and stops there. DVC also defines pipelines, tracks which stage produced which output, records metrics and lets you compare experiments, and it works with ordinary object storage rather than an LFS server.

DVC: Is it free?

The tool is Apache 2.0 and free. You pay for the object storage that holds the data, and optionally for DVC Studio.

DVC: Can several people work on the same data set?

Yes, through the shared remote, but only if all of them use DVC for every change. The tool cannot enforce a discipline it does not own, and a single manual copy silently breaks the guarantee.

Share

Related pages

Other head to heads