mysql = {
text = ''
# https://mariadb.com/kb/en/mariadb/pam-authentication-plugin/
- auth required ${pam_ldap} config=${config.secrets.location}/mysql/pam
- account required ${pam_ldap} config=${config.secrets.location}/mysql/pam
+ auth required ${pam_ldap} config=${config.secrets.fullPaths."mysql/pam"}
+ account required ${pam_ldap} config=${config.secrets.fullPaths."mysql/pam"}
'';
};
mysql_replication = {
text = ''
- auth required ${pam_ldap} config=${config.secrets.location}/mysql/pam_replication
- account required ${pam_ldap} config=${config.secrets.location}/mysql/pam_replication
+ auth required ${pam_ldap} config=${config.secrets.fullPaths."mysql/pam_replication"}
+ account required ${pam_ldap} config=${config.secrets.fullPaths."mysql/pam_replication"}
'';
};
};