Softwr

Databases · head to head

AWS Secrets Manager vs Dgraph

AWS Secrets Manager logo

AWS Secrets Manager

Databases

Managed store for database credentials and API keys with automatic rotation

From
$0.4/month
Free plan
No
Dgraph logo

Dgraph

Databases

Apache 2.0 distributed graph database written in Go, maintained by Hypermode, queried through GraphQL or its own DQL language.

From
Free
Free plan
Yes

The short version

  • Dgraph has a free plan, then $39/mo; AWS Secrets Manager starts at $0.4/mo.
  • Only AWS Secrets Manager lists automatic rotation; only Dgraph lists apache 2.0 licence.
  • 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 Dgraph differ?

AWS Secrets Manager and Dgraph 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 Dgraph actually diverge.

Attributes where AWS Secrets Manager and Dgraph differ
AttributeAWS Secrets ManagerDgraph
Starting price$0.4/monthFree
Pricing modelPer secret per month plus per 10,000 API callsFreemium
Free tierNoYes
PlatformsWebLinux, macOS, Self-hosted, Web

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 10 only for Dgraph. 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 Dgraph

  • Apache 2.0 licence
  • Generated GraphQL API
  • DQL query language
  • Predicate sharding
  • Raft replication
  • Distributed ACID transactions
  • Written in Go
  • Full-text and geo indexing

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 Dgraph
  • Giving ECS tasks and Lambda functions credentials at runtime instead of in environment filesnot Dgraph
  • Replicating secrets to a second Region for disaster recoverynot Dgraph
  • Centralising third-party API keys with audit logs for compliancenot Dgraph

Dgraph

  • An application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQLnot AWS Secrets Manager
  • A knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiationnot AWS Secrets Manager
  • Recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottlenecknot AWS Secrets Manager
  • Teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available onenot AWS Secrets Manager

Where do AWS Secrets Manager and Dgraph 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

Dgraph

  • Sharding is by predicate, so a single very hot predicate lives entirely in one Raft group and cannot be split further; adding nodes does not relieve it and the fix is a data model change
  • Stewardship passed from Dgraph Labs to Hypermode after the original company stopped operating independently, so anyone building on it is betting on a second custodian rather than on the original team's roadmap
  • The GraphQL layer is generated and opinionated, so anything it does not express drops you into DQL, which is a second language your team must learn and which no other database speaks
  • The community is a fraction of Neo4j's, so operational answers, tuning experience, hiring and third-party tooling are all thinner, and unusual failure modes in a Zero and Alpha cluster leave you reading source rather than a forum
  • There is no portable graph standard to migrate to; Cypher, Gremlin and SPARQL are all different query models, so the schema and every query is a rewrite if you later leave, and that cost grows with the application

How much do AWS Secrets Manager and Dgraph cost?

AWS Secrets Manager starts at $0.4/mo; Dgraph has a free plan, with paid plans from $39/mo. 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

Dgraph

Free
  • CommunityFree
    • Native GraphQL
    • Graph queries
    • Full-text search
  • Cloud$39/mo
    • Managed service
    • Auto-scaling
    • Enterprise support

Which should you pick?

Choose AWS Secrets Manager if

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

Choose Dgraph if

  • You need apache 2.0 licence.
  • You want to start without paying.
  • You work on Linux, macOS, Self-hosted, Web.
  • You also want generated graphql api.

Questions people ask

Is AWS Secrets Manager or Dgraph better?
It depends on the job. AWS Secrets Manager fits rotating RDS or Aurora database passwords on a schedule without code changes; Dgraph fits an application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQL. AWS Secrets Manager starts at $0.4/month and Dgraph at Free.
Which is cheaper, AWS Secrets Manager or Dgraph?
Dgraph has a free tier; the other does not. Paid plans start at $0.4/month for AWS Secrets Manager and Free for Dgraph.
Does AWS Secrets Manager or Dgraph run on more platforms?
AWS Secrets Manager runs on Web. Dgraph runs on Linux, macOS, Self-hosted, Web.
Can I use Dgraph for free?
Yes. Dgraph 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 Dgraph is typically brought in for.
What can AWS Secrets Manager do that Dgraph cannot?
AWS Secrets Manager covers Automatic rotation, KMS encryption, Cross-Region replication, Fine-grained access. Dgraph covers Apache 2.0 licence, Generated GraphQL API, DQL query language, Predicate sharding.

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.

Dgraph: Is Dgraph open source?

Yes. The current repository is Apache 2.0, which is a permissive OSI licence, and the project is at v25 under Hypermode's maintenance.

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.

Dgraph: Is it really GraphQL?

It serves a generated GraphQL API, which is real GraphQL for clients. Its native language, DQL, resembles GraphQL syntactically but is Dgraph's own language and is not the GraphQL specification.

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.

Dgraph: How does it compare to Neo4j?

Neo4j has the larger ecosystem, Cypher, and far more operational precedent. Dgraph distributes storage across nodes by default and gives you a GraphQL endpoint without writing resolvers. The choice usually turns on whether you need horizontal scale and a GraphQL surface more than you need ecosystem depth.

Dgraph: What does a production cluster look like?

At minimum a set of Zero nodes for coordination and a replicated set of Alpha nodes for data, typically three of each for fault tolerance, which is a meaningfully larger operational footprint than a single graph server.

Dgraph: Who maintains it now?

Hypermode. Dgraph Labs, the original company, no longer operates it, and that change of custodian is the main non-technical risk to weigh.

Share

Related pages

Other head to heads