Ravindra BagaleCourses & study guides मराठी

Chapter 94: HashiCorp Vault and Secrets Management

DevOps

94.2 Architecture — client, API, storage and the barrier

Story (fictional teaching scenario). At a fictional Nashik shop, Sara from Oslo draws four vertical boxes. The app does not read the storage files directly; it asks the Vault API.

Architecture — client, API, storage and the barrier
Architecture — client, API, storage and the barrier

Why

If you confuse encrypted storage with the API, you may back up the wrong things or expose a storage backend.

What

  • Client is a human CLI or application requesting an operation.
  • API is the request interface, commonly HTTP over TLS.
  • Storage backend holds Vault data. Integrated Storage uses a Raft cluster for replicated storage.
  • Encryption barrier is Vault’s cryptographic boundary around stored data.
  • TLS protects traffic in transit; encrypted storage is not a replacement for TLS.

How

  1. Use a client identity and TLS for real deployments.

  2. Send operations to the API, not the storage backend.

  3. Plan storage availability and operator responsibilities separately.

Example 1: Request route

  1. Read the command or request.
CLI: vault kv get -mount=secret shop
Route: client -> Vault API -> policy -> storage engine
  1. Read the result.

Output (illustrative; NOT executed against Vault)

An authorized caller receives a response; a storage-file reader does not get a normal API result.
  1. Line by line: kv get is a CLI command. -mount=secret names an engine mount. shop is a logical path. This would display secret values, so use only fake demonstration fields and never record real output.

Ravindra Bagale's Tip

Encrypted storage and encrypted network traffic solve different problems.

Did you understand? Let us try it once more.