Port 8200 is the default HashiCorp Vault HTTP API port. Vault manages secrets, encryption keys, and dynamic credentials. Port 8200 should be accessible only from application servers that need secrets – never from the public internet. Vault requires TLS in production. The Vault agent sidecar uses port 8200 to retrieve secrets for applications.
Port Number
8500
Protocol
TCP
Service
Vault HTTP API
Range
IANA Registered (1024–49151)
Check Vault status (sealed? standby? initialized?)
curl -s http://127.0.0.1:8200/v1/sys/health | jq '{initialized, sealed, standby}'List enabled audit devices (should have at least one for compliance)
curl -s -H 'X-Vault-Token: TOKEN' http://127.0.0.1:8200/v1/sys/audit | jq '.data | keys'Inspect current token's policies and TTL
vault token lookupVerify audit logging is active (required for security compliance)
vault audit list -detailedvault status
curl -H 'X-Vault-Token: TOKEN' http://127.0.0.1:8200/v1/sys/health
vault kv get secret/myappHashiCorp Vault was released in 2015 to solve secrets sprawl (credentials in config files, environment variables, and source code). Port 8200 was chosen as a common development port. Vault introduced concepts like dynamic secrets (database credentials with TTL), leases, and seal/unseal. The integrated storage backend (Raft) eliminated the Consul dependency in 2019. HashiCorp changed Vault's license to BSL in August 2023, leading to the OpenBao fork.
How do I recover if Vault is sealed and I lost unseal keys?
If using Shamir's Secret Sharing: you need the threshold number of unseal keys (typically 3 of 5). If all keys are lost, the data is unrecoverable by design – this is the security model. Prevention: use auto-unseal with AWS KMS, Azure Key Vault, or GCP Cloud KMS. Auto-unseal means Vault automatically unseals on restart without human intervention. Always store recovery keys in a secure, tested backup location.
Vault vs AWS Secrets Manager?
Vault: multi-cloud, dynamic secrets (auto-rotating DB creds), PKI engine, transit encryption, identity-based access, self-hosted or HCP. AWS Secrets Manager: AWS-native, simpler, automatic rotation for RDS/Redshift/DocumentDB, tighter IAM integration, no operational overhead. Use Vault when: multi-cloud, complex policies, dynamic credentials for non-AWS services, or PKI needs. Use Secrets Manager when: AWS-only and operational simplicity matters.