26#ifndef SRC_ROUTER_INCLUDE_MYSQLROUTER_WINDOWS_PASSWORD_VAULT_H_ 
   27#define SRC_ROUTER_INCLUDE_MYSQLROUTER_WINDOWS_PASSWORD_VAULT_H_ 
   70                    std::string &out_password) 
const;
 
Definition: password_vault.h:32
 
void remove_password(const std::string §ion_name)
Removes the password from the vault for the given section name.
 
bool get_password(const std::string §ion_name, std::string &out_password) const
Retrieves the password, in clear text, for the given section as is stored in the vault.
 
std::string get_vault_path() const
 
void update_password(const std::string §ion_name, const std::string &password)
Updates a pair (section name, password) in the vault cache.
 
void store_passwords()
Stores the vault cache into persistent storage in encrypted form.
 
void clear_passwords()
Wipes the contents of the vault file.
 
std::map< std::string, std::string > _passwords
Definition: password_vault.h:100
 
void password_scrambler(std::string &pass)
 
PasswordVault()
Create an instance of the vault.
 
~PasswordVault()
wipes the contents of the vault cache.
 
static char * password
Definition: mysql_secure_installation.cc:58