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

Classes

CredentialException
class CredentialException
Undocumented in source.

Functions

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

Gets the Credential entity with the given name

load
Credential[] load(string file)

Loads credentials from the given file

Structs

Credential
struct Credential

Holds credentials used for a login

Meta

Authors

Martin Brzenska ' Licence: MIT