Skip to main content

Module database

Module database 

Source
Expand description

Database secrets engine for ZVault.

Generates short-lived database credentials on demand. Supports PostgreSQL and MySQL connection configurations with role-based credential generation. Credentials are tracked via the lease system and revoked on expiry.

Structs§

DatabaseConfig
A configured database connection.
DatabaseCredentials
Generated credentials returned to the caller.
DatabaseEngine
The database secrets engine.
DatabaseRole
A role definition that controls how credentials are generated.