Skip to content

skygenesisenterprise/aether-vault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

45 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

πŸ” Aether Vault

License Go TypeScript Next.js React GitHub App

πŸ”₯ Enterprise-Grade Secrets Management - Complete Hybrid Architecture with Comprehensive Package Ecosystem

A next-generation secrets management platform that has evolved significantly from its initial hybrid architecture. Now featuring a complete authentication system, comprehensive package ecosystem, GitHub Marketplace integration, and enterprise-ready monorepo design with enhanced security capabilities.

πŸš€ Quick Start β€’ πŸ“‹ What's New β€’ πŸ“Š Current Status β€’ πŸ› οΈ Tech Stack β€’ πŸ“¦ Package Ecosystem β€’ πŸ“ Architecture β€’ 🀝 Contributing

GitHub stars GitHub forks GitHub issues


🌟 What is Aether Vault?

Aether Vault is a comprehensive secrets management platform that has evolved dramatically from its initial concept. Starting as a hybrid Go/TypeScript architecture, it has grown into a complete ecosystem featuring authentication, package SDKs, GitHub integration, and enterprise-ready capabilities.

🎯 Our Evolved Vision

  • πŸš€ Enhanced Hybrid Architecture - Go 1.21+ backend + TypeScript 5 frontend + Package Ecosystem
  • πŸ“¦ Complete Package SDKs - GitHub App, Go SDK, Node.js SDK, Python SDK for maximum integration
  • πŸ” Complete Authentication System - JWT-based system with login/register forms and context
  • ⚑ High-Performance Backend - Go-based server with encrypted secrets storage
  • 🎨 Modern Frontend - Next.js 16 + React 19.2.1 + shadcn/ui component library
  • πŸ”— GitHub Marketplace Integration - Verified GitHub App for secrets orchestration
  • πŸ—οΈ Enterprise-Ready Design - Scalable, secure, and maintainable architecture
  • πŸ“š Comprehensive Documentation - Package-specific docs and API references
  • πŸ› οΈ Developer-Friendly - Streamlined commands, hot reload, TypeScript strict mode

πŸ†• What's New - Recent Evolution

🎯 Major Additions in v1.0+

πŸ“¦ Complete Package Ecosystem (NEW)

  • βœ… GitHub App Package - Verified Marketplace application for secrets orchestration
  • βœ… Go SDK Package - Native Go client library and CLI tools
  • βœ… Node.js SDK Package - Universal TypeScript SDK for Node.js and browser
  • βœ… Python SDK Package - Python client library for automation and data science
  • βœ… Package Documentation - Comprehensive docs for each package

πŸ”— GitHub Integration (NEW)

  • βœ… Verified GitHub App - Secrets intelligence and workflow orchestration
  • βœ… Multi-Target Secret Detection - Support for development, staging, production environments
  • βœ… Workflow Orchestration - Automatic GitHub Actions triggering
  • βœ… Aether Vault Notifications - Integrated security alert system

πŸ—οΈ Enhanced Architecture (IMPROVED)

  • βœ… Package-Based Structure - Modular design with clear separation
  • βœ… Cross-Package Integration - Seamless interaction between packages
  • βœ… Docker Deployment - Production-ready containerization for all packages
  • βœ… Security Enhancements - Rate limiting, input validation, CORS, encryption

πŸ“š Documentation Evolution (IMPROVED)

  • βœ… Package-Specific READMEs - Detailed documentation for each component
  • βœ… Architecture Overviews - Comprehensive system documentation
  • βœ… Integration Guides - Step-by-step setup instructions
  • βœ… API References - Complete API documentation

πŸ“Š Current Status

βœ… Rapid Evolution: From basic hybrid architecture to complete ecosystem with GitHub Marketplace integration.

βœ… Currently Implemented

πŸ—οΈ Core Foundation

  • βœ… Complete Authentication System - JWT with login/register forms and React context
  • βœ… Hybrid Monorepo Architecture - Go backend + TypeScript frontend workspaces
  • βœ… Go Backend Server - High-performance API with encrypted secrets storage
  • βœ… Next.js 16 Frontend - Modern React 19.2.1 with shadcn/ui + Tailwind CSS v4
  • βœ… Secrets Management - Encrypted storage with user models and access controls
  • βœ… CLI Tools - Complete command-line interface for server management

πŸ“¦ Package Ecosystem (NEW)

  • βœ… GitHub App Package - Verified Marketplace app with secrets orchestration
  • βœ… Go SDK Package - Native Go client library and CLI tools
  • βœ… Node.js SDK Package - Universal TypeScript SDK with examples
  • βœ… Python SDK Package - Python client library with comprehensive examples
  • βœ… Package Documentation - Comprehensive docs for all packages

πŸ”— GitHub Integration (NEW)

  • βœ… Secret Type Detection - Intelligent pattern matching for all secret types
  • βœ… Multi-Target Support - Handle complex environments (+dev+staging+prod)
  • βœ… Workflow Orchestration - Automatic GitHub Actions triggering
  • βœ… Aether Vault Integration - Complete security notification system

πŸ› οΈ Development Infrastructure

  • βœ… Development Environment - Hot reload, TypeScript strict mode, Go modules
  • βœ… Docker Deployment - Production-ready containers for all packages
  • βœ… Security Implementation - Rate limiting, validation, security headers, encryption
  • βœ… Structured Logging - Comprehensive logging with audit trail

πŸ”„ In Development

  • TOTP Management Dashboard - Complete CRUD interface for TOTP administration
  • Role-Based Access Control - Granular permissions and role management
  • Security Enhancements - Advanced rate limiting, input validation, CORS
  • API Documentation - Comprehensive API documentation and testing
  • Testing Suite - Unit and integration tests across all packages

πŸ“‹ Planned Features

  • Secret Rotation - Automatic secret rotation with policies
  • Web Administration Dashboard - Complete server management interface
  • Audit & Compliance - Advanced audit trail and compliance reporting
  • Advanced Security - HSM integration, advanced encryption
  • Mobile Application - React Native companion app

πŸš€ Quick Start

πŸ“‹ Prerequisites

  • Go 1.21.0 or higher (for backend)
  • Node.js 18.0.0 or higher (for frontend)
  • pnpm 9.0.0 or higher (recommended package manager)
  • PostgreSQL 14.0 or higher (for database)
  • Docker (optional, for package deployment)
  • Make (for command shortcuts - included with most systems)

πŸ”§ Installation & Setup

  1. Clone the repository

    git clone https://github.com/skygenesisenterprise/aether-vault.git
    cd aether-vault
  2. Quick start (recommended)

    # One-command setup and start
    make quick-start
  3. Manual setup

    # Install Go dependencies
    cd server && go mod download && cd ..
    
    # Install Node.js dependencies
    make install
    
    # Environment setup
    make env-dev
    
    # Database initialization
    make db-migrate
    
    # Start development servers
    make dev

🌐 Access Points

Once running, you can access:

🎯 Enhanced Commands

# πŸš€ Quick Start & Development
make quick-start          # Install, migrate, and start dev servers
make dev                 # Start all services (frontend + backend)
make dev-frontend        # Frontend only (port 3000)
make dev-backend         # Backend only (port 8080)

# πŸ“¦ Package Development (NEW)
make dev-github          # Start GitHub App development
make build-packages      # Build all packages
make test-packages       # Test all packages

# πŸ”§ Go Backend Commands
make go-server           # Start Go server directly
make go-build            # Build Go binary
make go-test             # Run Go tests

# πŸ—οΈ Building & Production
make build               # Build all packages
make start               # Start production servers

# πŸ—„οΈ Database
make db-studio           # Open database studio
make db-migrate          # Run migrations
make db-seed             # Seed development data

# πŸ”§ Code Quality & Testing
make lint                # Lint all packages
make typecheck           # Type check all packages
make format              # Format code with Prettier

# πŸ› οΈ Utilities
make help                # Show all available commands
make status              # Show project status
make health              # Check service health

πŸ’‘ Tip: Run make help to see all available commands organized by category.


πŸ› οΈ Tech Stack

🎨 Frontend Layer

Next.js 16 + React 19.2.1 + TypeScript 5
β”œβ”€β”€ 🎨 Tailwind CSS v4 + shadcn/ui (Styling & Components)
β”œβ”€β”€ πŸ” JWT Authentication (Complete Implementation)
β”œβ”€β”€ πŸ›£οΈ Next.js App Router (Routing)
β”œβ”€β”€ πŸ“ TypeScript Strict Mode (Type Safety)
β”œβ”€β”€ πŸ”„ React Context (State Management)
└── πŸ”§ ESLint + Prettier (Code Quality)

βš™οΈ Backend Layer

Go 1.21+ + Gin Framework
β”œβ”€β”€ πŸ—„οΈ Encrypted Storage + PostgreSQL (Database Layer)
β”œβ”€β”€ πŸ” JWT Authentication (Complete Implementation)
β”œβ”€β”€ πŸ›‘οΈ Middleware (Security, CORS, Logging)
β”œβ”€β”€ 🌐 HTTP Router (Gin Router)
β”œβ”€β”€ πŸ“¦ JSON Serialization (Native Go)
└── πŸ“Š Structured Logging (Zerolog)

πŸ“¦ Package Ecosystem Layer (NEW)

Multi-Language Package SDKs
β”œβ”€β”€ πŸš€ GitHub App (TypeScript + Fastify)
β”‚   β”œβ”€β”€ Secrets Orchestration
β”‚   β”œβ”€β”€ Webhook Security
β”‚   └── Aether Vault Integration
β”œβ”€β”€ 🐹 Go SDK (Native Go)
β”‚   β”œβ”€β”€ High-Performance Client
β”‚   β”œβ”€β”€ CLI Tools
β”‚   └── Go Modules Support
β”œβ”€β”€ πŸ“¦ Node.js SDK (TypeScript)
β”‚   β”œβ”€β”€ Universal Client (Node.js + Browser)
β”‚   β”œβ”€β”€ Authentication Handling
β”‚   └── Comprehensive Examples
└── 🐍 Python SDK (Python)
    β”œβ”€β”€ Python Client Library
    β”œβ”€β”€ Automation Support
    └── Data Science Integration

πŸ—„οΈ Data Layer

PostgreSQL + Encrypted Storage
β”œβ”€β”€ πŸ—οΈ Schema Management (Auto-migration)
β”œβ”€β”€ πŸ” Query Builder (Type-Safe Queries)
β”œβ”€β”€ πŸ”’ Encryption at Rest (AES-256)
β”œβ”€β”€ πŸ‘€ User & Secret Models (Complete Implementation)
└── πŸ“ˆ Audit Trail (Security Logging)

πŸ—οΈ Evolved Monorepo Infrastructure

Make + pnpm Workspaces + Go Modules + Package Ecosystem
β”œβ”€β”€ πŸ“¦ app/ (Next.js Frontend - TypeScript)
β”œβ”€β”€ βš™οΈ server/ (Go API - Go)
β”œβ”€β”€ πŸ› οΈ cli/ (Command Line Tools - TypeScript)
β”œβ”€β”€ πŸ”§ tools/ (Development Utilities - TypeScript)
β”œβ”€β”€ πŸ“š services/ (Core Vault Services - TypeScript)
β”œβ”€β”€ πŸ—‚οΈ routers/ (API Routing - TypeScript)
β”œβ”€β”€ πŸ“¦ package/ (Package Ecosystem - NEW)
β”‚   β”œβ”€β”€ github/ (GitHub App - TypeScript)
β”‚   β”œβ”€β”€ golang/ (Go SDK - Go)
β”‚   β”œβ”€β”€ node/ (Node.js SDK - TypeScript)
β”‚   └── python/ (Python SDK - Python)
└── 🐳 docker/ (Container Configuration)

πŸ“¦ Package Ecosystem

🎯 New Package Architecture

The project has evolved to include a comprehensive package ecosystem:

package/
β”œβ”€β”€ github/                    # πŸš€ GitHub App for Secrets Orchestration
β”‚   β”œβ”€β”€ Secrets Detection     # Intelligent pattern matching
β”‚   β”œβ”€β”€ Workflow Orchestration # GitHub Actions integration
β”‚   └── Aether Vault Integration
β”œβ”€β”€ golang/                   # 🐹 Go SDK & CLI Tools
β”‚   β”œβ”€β”€ Native Go Client      # High-performance HTTP client
β”‚   └── CLI Tools            # Command-line utilities
β”œβ”€β”€ node/                     # πŸ“¦ Node.js/TypeScript SDK
β”‚   β”œβ”€β”€ Universal Client      # Node.js + Browser support
β”‚   └── Usage Examples        # Comprehensive examples
└── python/                   # 🐍 Python SDK
    β”œβ”€β”€ Python Client         # Native Python integration
    └── Automation Tools      # Scripting and data science

πŸš€ GitHub App Package

Purpose: Verified GitHub Marketplace application for secrets orchestration.

Key Features:

  • βœ… Secrets type detection (api keys, database, certificates, tokens)
  • βœ… Multi-target secret support (+dev+staging+prod)
  • βœ… Workflow orchestration with GitHub Actions
  • βœ… Aether Vault notification integration
  • βœ… Webhook security with HMAC-SHA256
  • βœ… Docker deployment ready

Usage:

cd package/github
pnpm install && pnpm dev
# or
docker-compose up -d

🐹 Go SDK Package

Purpose: Native Go SDK and CLI tools for Aether Vault integration.

Key Features:

  • βœ… Native Go client library
  • βœ… CLI tools for vault management
  • βœ… High-performance HTTP client
  • βœ… Type-safe Go structs
  • βœ… Go modules support

Usage:

import "github.com/skygenesisenterprise/aether-vault/package/golang"

client := golang.NewClient("http://localhost:8080", "your-api-key")
secret, err := client.Secrets.Get("database-url")

πŸ“¦ Node.js SDK Package

Purpose: Universal TypeScript SDK for Node.js and browser environments.

Key Features:

  • βœ… Universal client (Node.js + Browser)
  • βœ… TypeScript strict mode
  • βœ… Authentication handling
  • βœ… Secrets management capabilities
  • βœ… Comprehensive examples

Usage:

import { AetherVaultClient } from "@aether-vault/node";

const client = new AetherVaultClient({
  baseURL: "http://localhost:8080",
  apiKey: "your-api-key",
});

await client.secrets.create({
  name: "database-url",
  value: "postgresql://...",
  environment: "production",
});

🐍 Python SDK Package

Purpose: Python client library for automation and data science workflows.

Key Features:

  • βœ… Native Python client
  • βœ… Automation scripting support
  • βœ… Data science integration
  • βœ… Type hints and documentation
  • βœ… pip installation support

Usage:

from aether_vault import AetherVaultClient

client = AetherVaultClient(
    base_url="http://localhost:8080",
    api_key="your-api-key"
)

secret = client.secrets.get("database-url")

πŸš€ Core Components

1️⃣ Node.js SDK - package/node/

The heart of client integration

// Replace raw fetch("/api/v1/*") calls with typed API
import { createVaultClient } from "aether-vault";

const vault = createVaultClient({
  baseURL: "/api/v1",
  auth: { type: "session" },
});

// No more manual authentication handling
const secrets = await vault.secrets.list();
const totp = await vault.totp.generate({ name: "GitHub" });
const user = await vault.identity.getCurrent();

Key Features:

  • πŸ” Multi-authentication: JWT, Bearer, Session
  • πŸ”’ Secrets CRUD: Create, read, update, rotate
  • πŸ”’ Complete TOTP: Generate, QR codes, backup codes, verify
  • πŸ‘€ Advanced identity: Profiles, roles, sessions, 2FA
  • 🌐 Next.js compatible: Isomorphic client/server
  • πŸ›‘οΈ Type Safety: TypeScript strict mode enabled

2️⃣ Web Application - app/

Modern user interface with Next.js 16

// Reusable components with SDK hooks
import { VaultProvider, useSecrets, useTotp } from "aether-vault/nextjs";

function SecretsManager() {
  const { secrets, operations } = useSecrets();
  const { totps, generate } = useTotp();

  return (
    <VaultProvider>
      {/* Modern user interface */}
    </VaultProvider>
  );
}

Features:

  • 🎨 Modern design: Responsive interface with Tailwind CSS
  • πŸ” Fluid authentication: Multi-methods with sessions
  • πŸ“± Responsive design: Desktop/tablet/mobile compatible
  • πŸŒ— Contextual navigation: Sidebar with quick access
  • πŸ“‹ Interactive tables: Filtering, pagination, sorting

3️⃣ Backend API - server/

Robust server with secrets management

// RESTful API with centralized authentication
func main() {
    // Configure Vault server
    router := gin.New()

    // API v1 endpoints
    v1 := router.Group("/api/v1")
    {
        v1.GET("/secrets", handlers.ListSecrets)
        v1.POST("/secrets", handlers.CreateSecret)
        v1.GET("/totp", handlers.ListTotp)
        v1.POST("/totp/generate", handlers.GenerateTotp)
        v1.GET("/identity/me", handlers.GetCurrentIdentity)
    }
}

Server Architecture:

  • πŸ›‘οΈ Hardened security: Validation, encryption, rate limiting
  • πŸ“Š Integrated monitoring: Metrics, health checks, structured logs
  • πŸ” Comprehensive logging: Audit trail for all operations
  • πŸš€ Performance optimized: Caching, connection pooling

4️⃣ Router & Load Balancer - routers/

Intelligent traffic distribution

// Advanced load balancing algorithms
type LoadBalancerAlgorithm =
    | "round_robin"
    | "weighted_round_robin"
    | "least_connections"
    | "ip_hash"

// Dynamic service configuration
type Service = struct {
    ID        string    `json:"id"`
    Name      string    `json:"name"`
    Address   string    `json:"address"`
    Port      int       `json:"port"`
    Weight    int       `json:"weight"`
    Health    Health    `json:"health"`
}

πŸ”„ Integration Flow

Step 1: Installation

# Clone the project
git clone https://github.com/skygenesisenterprise/aether-vault.git
cd aether-vault

# Install dependencies with pnpm
pnpm install

Step 2: Configuration

# Environment variables
cp .env.example .env.local

# Configure URLs and keys
VAULT_BACKEND_URL=https://localhost:8080
VAULT_SECRET_KEY=your-secret-key

Step 3: Development

# Start all services
pnpm dev

# Or individually
cd server && pnpm dev          # Backend API
cd app && pnpm dev             # Frontend Next.js
cd routers && pnpm dev         # Load balancer

🌐 Usage Scenarios

🏒 Application Developer

// In your existing Next.js application
import { createVaultClient } from "aether-vault";

const vault = createVaultClient({
  baseURL: "/api/v1", // Next.js proxy
  auth: { type: "session" },
});

// Secure access to secrets
const dbConfig = await vault.secrets.getValue("DATABASE_URL");
const redisConfig = await vault.secrets.getValue("REDIS_URL");

// Automatic 2FA setup
const githubTotp = await vault.totp.generate({
  name: "GitHub",
  account: "dev@company.com",
});

πŸ› οΈ System Administrator

// Centralized management via web interface
const vault = createVaultClient({
  /* admin config */
});

// Complete access audit
const auditLogs = await vault.audit.list({
  startDate: "2024-01-01",
  endDate: "2024-01-31",
});

// User management
const users = await vault.identity.list({
  roles: ["developer"],
  status: "active",
});

πŸš€ Production Deployment

# docker-compose.yml for production
version: "3.8"
services:
  vault-frontend:
    image: aether-vault/app:latest
    environment:
      - NEXT_PUBLIC_VAULT_URL=https://vault.company.com/api/v1

  vault-backend:
    image: aether-vault/server:latest
    environment:
      - DATABASE_URL=postgresql://...
      - VAULT_SECRET_KEY=${VAULT_SECRET_KEY}

  vault-router:
    image: aether-vault/router:latest
    ports:
      - "80:80"

πŸ“Š Complete Ecosystem

πŸ”— Existing Integrations

  • Aether Office Suite: Office, Email, Calendar, Drive
  • DevOps Tools: Git containers, CI/CD pipelines
  • Monitoring: Grafana dashboards, Prometheus alerts
  • Cloud Providers: AWS, GCP, Azure configurations

πŸ“¦ Available Packages

Package Description Usage
@aether-vault/node TypeScript SDK Node.js/Next.js applications
@aether-vault/golang Go SDK Backend services and microservices
@aether-vault/python Python SDK Automation scripts and data science
@aether-vault/github GitHub App Integration with GitHub repositories

πŸ›‘οΈ Security & Compliance

πŸ”’ Encryption

  • AES-256 for secret storage
  • TLS 1.3 for all communications
  • SHA-256 for integrity verification

πŸ“‹ Audit & Compliance

  • GDPR compliant: Anonymization and right to be forgotten
  • SOC 2 Type II: Access controls and audit trail
  • ISO 27001: Information security management framework

🚨 Threats Mitigated

  • Zero Trust Architecture: Systematic verification
  • Defense in Depth: Multiple security layers
  • Principle of Least Privilege: Minimal required permissions

πŸ“ˆ Roadmap

🎯 v1.0 (Current)

  • βœ… Complete Node.js SDK
  • βœ… Next.js web application
  • βœ… Secure RESTful API
  • βœ… Router with load balancing

πŸš€ v1.1 (Next)

  • πŸ”„ Automatic secret rotation
  • πŸ” Advanced search: Full-text search across all secrets
  • πŸ“Š Analytics dashboard: Usage pattern visualization
  • 🌍 Multi-region: Support for multiple geographic regions

🌟 v2.0 (Future)

  • πŸ” Hardware Security Modules (HSM) integration
  • πŸ€– AI-powered insights: Anomaly detection and recommendations
  • 🏒 Enterprise SSO: SAML, OIDC, LDAP integration
  • πŸ“± Mobile applications: Native iOS/Android apps

🀝 Contributing to the Project

πŸ› οΈ For Developers

# Fork and contribute
git clone https://github.com/skygenesisenterprise/aether-vault.git
cd aether-vault

# Development setup
pnpm install
pnpm dev

# Testing and quality
pnpm test
pnpm lint
pnpm build

πŸ“ Guidelines

  • Code quality: TypeScript strict, unit tests, documentation
  • Security first: Input validation, defense in depth principle
  • Performance: Request optimization, intelligent caching
  • Accessibility: WCAG 2.1 AA compliance minimum

πŸ† Expected Contributions

  • New SDKs: Rust, Java, C#, PHP...
  • Cloud integrations: AWS Secrets Manager, Azure Key Vault...
  • System plugins: External authentication, advanced monitoring
  • Documentation: Usage guides, video tutorials...

πŸ“ž Support & Community

πŸ’¬ Getting Help

🌟 Community

πŸ“„ License & Legal

  • License: MIT License - LICENSE
  • Copyright: Β© 2024 Sky Genesis Enterprise
  • Trademark: Aether Vaultβ„’ is a registered trademark
  • Privacy: Privacy policy at privacy.aether-vault.com

πŸŽ‰ Summary

Aether Vault is more than just a secrets vault:

πŸ” It's a complete ecosystem that transforms how development teams develop and deploy secure applications.

πŸš€ It's an integration platform that eliminates the complexity of credential management in modern architectures.

🌟 It's a long-term vision to make security accessible, intelligent, and transparent for everyone.


πŸš€ Join us in building the future of secure application development!

Made with ❀️ by Sky Genesis Enterprise

Building a more secure digital future together.