🔐 Secure Session Vault
A modern, encrypted session management system for secure applications. Fully Dockerized backend and a Node-compatible npm client.
🚀 Install the Client
# Using npm npm install secure-session-vault-client # Using yarn yarn add secure-session-vault-client # Using pnpm pnpm install secure-session-vault-client
🐳 Run Vault Backend
# Run with Docker $ docker run -p 17000:17000 ethernmyth/secure-session-vault:latest # Or with Docker Compose services: vault: image: ethernmyth/secure-session-vault:latest ports: - "17000:17000"
🛠️ Example Usage
import { SecureSessionVault } from "secure-session-vault-client"; const vault = new SecureSessionVault(); // Optional: pass custom URL await vault.setItem("accessToken", "abc123"); const token = await vault.getItem("accessToken"); await vault.removeItem("accessToken");
🔗 Vault API Access
# Store a value curl -X POST "http://localhost:17000/vault?key=session&value=abc123" # Retrieve the value curl "http://localhost:17000/vault?key=session" # Delete the value curl -X DELETE "http://localhost:17000/vault?key=session"