Vaultx.Application (Vaultx v0.7.0)

View Source

OTP Application for VaultX HashiCorp Vault client.

This application manages the lifecycle of VaultX infrastructure components with a focus on simplicity, reliability, and fast startup.

Architecture

  • Core Components: HTTP connection pool (required)
  • Optional Components: Cache, token renewal, rate limiting, hot reload
  • Fault Tolerance: Optional components can fail without affecting core functionality
  • Fast Startup: Minimal validation during startup, comprehensive analysis on demand

Startup Process

  1. Load configuration with basic validation
  2. Start HTTP connection pool
  3. Start optional components based on configuration
  4. Setup telemetry if enabled

Summary

Functions

Returns a summary of the current configuration.

Returns the current version of VaultX.

Functions

config_summary()

@spec config_summary() :: map()

Returns a summary of the current configuration.

handle_telemetry(event, measurements, metadata, config)

version()

@spec version() :: String.t()

Returns the current version of VaultX.