vault vs lnd
vault and lnd share 5 technologies: pgx, Postgres, etcd, github.com/coreos/go-systemd, and Prometheus. Both are written in Go.
What they share and what sets them apart
hashicorp
vault
A tool for secrets management, encryption as a service, and privileged access management
Go36.5kRead on November 14, 2026, at commit b69f8d8What is vault built with?Only in vault
- MongoDB
- MySQL
s3
- github.com/hashicorp/go-memdb
github.com/jellydator/ttlcache/v3
- Consul
github.com/gocql/gocql
- github.com/michaelklishin/rabbit-hole/v2
- cloud.google.com/go/cloudsqlconn
- github.com/denisenkom/go-mssqldb
github.com/influxdata/influxdb1-client
- Apple
- github.com/aerospike/aerospike-client-go/v8
github.com/aliyun/aliyun-oss-go-sdk
github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue
github.com/aws/aws-sdk-go-v2/service/dynamodb
- github.com/Azure/azure-storage-blob-go
github.com/cockroachdb/cockroach-go/v2
github.com/go-zookeeper/zk
- github.com/hashicorp/vault-plugin-database-couchbase
- github.com/hashicorp/vault-plugin-database-elasticsearch
- github.com/hashicorp/vault-plugin-database-mongodbatlas
- github.com/hashicorp/vault-plugin-database-redis
- github.com/hashicorp/vault-plugin-database-redis-elasticache
- github.com/hashicorp/vault-plugin-database-snowflake
- github.com/ncw/swift
- github.com/patrickmn/go-cache
- github.com/SAP/go-hdb
- go.etcd.io/etcd/client/v2
- Okta
- approle
- github.com/hashicorp/vault/sdk
- github.com/hashicorp/go-secure-stdlib/password
- github.com/go-jose/go-jose/v4
github.com/go-ldap/ldap/v3
github.com/aws/aws-sdk-go-v2/credentials
- github.com/hashicorp/cap
- github.com/hashicorp/vault-plugin-auth-alicloud
- github.com/hashicorp/vault-plugin-auth-cf
- github.com/hashicorp/vault-plugin-auth-kerberos
- github.com/pquerna/otp
- github.com/hashicorp/vault-plugin-auth-gcp
- github.com/hashicorp/vault-plugin-auth-jwt
- github.com/hashicorp/vault-plugin-auth-oci
- golang.org/x/oauth2
- github.com/Azure/azure-sdk-for-go/sdk/azidentity
- github.com/Azure/go-autorest/autorest/adal
- github.com/chrismalek/oktasdk-go
- github.com/duosecurity/duo_api_golang
github.com/golang-jwt/jwt/v4
- github.com/hashicorp/go-pgmultiauth
- github.com/hashicorp/vault-plugin-auth-azure
- github.com/hashicorp/vault-plugin-auth-kubernetes
- github.com/hashicorp/vault-plugin-secrets-ad
- github.com/hashicorp/vault-plugin-secrets-openldap
- github.com/jcmturner/gokrb5/v8
- github.com/pavlo-v-chernykh/keystore-go/v4
github.com/asaskevich/govalidator
- github.com/hashicorp/go-hclog
github.com/aws/aws-sdk-go-v2
github.com/aws/aws-sdk-go-v2/service/iam
github.com/aws/aws-sdk-go-v2/service/sts
- github.com/hashicorp/consul-template
github.com/aws/aws-sdk-go-v2/service/ec2
github.com/oracle/oci-go-sdk
github.com/aws/aws-sdk-go-v2/feature/ec2/imds
- github.com/hashicorp/go-discover
- Nomad
- OpenTelemetry
- cloud.google.com/go/compute/metadata
github.com/aliyun/alibaba-cloud-sdk-go
- github.com/armon/go-metrics
github.com/aws/aws-sdk-go-v2/config
- github.com/Azure/azure-sdk-for-go/sdk/azcore
- github.com/google/go-metrics-stackdriver
- github.com/TritonDataCenter/triton-go/v2
In common
- pgx
- Postgres
- etcd
github.com/coreos/go-systemd
- Prometheus
lightningnetwork
lnd
Lightning Network Daemon ⚡️
Go8.2kRead on November 17, 2026, at commit 5ffce51What is lnd built with?Only in lnd
- SQLite
- github.com/golang-migrate/migrate/v4
- github.com/jackc/pgerrcode
- github.com/fergusstrange/embedded-postgres
- github.com/jedib0t/go-pretty/v6
- github.com/grpc-ecosystem/go-grpc-prometheus
Side by side
vaultlnd
SizeLines written by people and agents, without generated ones; code files, without tests.
vault1,017,822 lines written2,736 code files
lnd788,490 lines written1,185 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
vault0.4% of its commits signed by AIWith GitHub Copilot
lnd0.1% of its commits signed by AIWith Codex, Claude Code, Aider, and CodeRabbit
ActivityFrom GitHub and its history, on the day SeeRepo read it.
vaultLast push November 13, 202622,455 commits36,511 stars
lndLast push November 16, 202617,886 commits8,217 stars
TestsThe files that test the code, and the share of code files a test imports.
vault1,939 test files33.8% of its code files have a test that imports them
lnd784 test files71.2% of its code files have a test that imports them
Frequently asked questions
Which is bigger, vault or lnd?
vault, with 1,017,822 lines written; lnd has 788,490.
The proof: hashicorp/vault's code at commit b69f8d8
Which has more GitHub stars, vault or lnd?
vault, with 36,511 stars; lnd has 8,217.
The proof: hashicorp/vault on GitHub
Which has more tests, vault or lnd?
vault, with 1,939 test files; lnd has 784.
The proof: hashicorp/vault's code at commit b69f8d8
Which was updated more recently, vault or lnd?
lnd: its last push was on November 16, 2026, and vault's on November 13, 2026.
The proof: lightningnetwork/lnd's commits on GitHub
Which has more commits signed by AI, vault or lnd?
vault: an AI signed 0.4% of its commits, with GitHub Copilot; in lnd, 0.1%.
See inside your code, today.
Paste your repo and see it drawn, part by part: a medium one in under a minute.
Free, no account.Private repo? Sign in with GitHub

