Table of Contents

Class DatabaseSecretsInstaller

Namespace
FishMMO.Installer
Assembly
FishMMO-Installer.dll

The write path for the platform secrets file, and the shell snippet exporters that share it.

public static class DatabaseSecretsInstaller
Inheritance
DatabaseSecretsInstaller
Inherited Members

Remarks

The interactive database-secrets wizard that used to live here has moved into SecretsEnvironmentInstaller, which edits every FISHMMO_* variable in one pass. It had to move: two wizards writing the same file each rewrote it from scratch and emitted only their own keys, so configuring one silently deleted the other's credentials.

What remains here is the part that knows how to put a file into /etc/fishmmo/ — direct write when the directory allows it, sudo when it does not, chmod 600 and chown back to the invoking user either way — plus the snippet writers for machines that set the variables in a shell profile instead.