credexil

Store database credentials outside the sourcecode * This module makes it easy to load credentials from external files and use it for Database Clients. This module was build with MySQL/MariaDB credentials in mind - but it can surely be used for similar credential structures. *

Members

Functions

get
Credential get(in Credential[] credentials, string name)

Gets the Credential entity with the given name *

load
Credential[] load(string file)

Loads credentials from the given file * The file to load must have the appropriate format (see example below). One file can hold multiple credential entities, each consisting of a name and a set of variables. *

Structs

Credential
struct Credential

Holds credentials used for a login *

Meta

Authors

Martin Brzenska ' Licence: MIT *