This class holds all the settings that parameterize kadmin.
This class holds all the settings that parameterize kadmin.
By default these settings are read from the Config obtained with ConfigFactory.load()
.
You can change the settings in multiple ways:
new Settings(yourConfig)
However it will be more succinct to pass your config directly to Kadmin:
new Kadmin(yourConfig)
object YourSettings extends Settings() { override val realm: String = "YOUR.DOMAIN.TLD" override val keytabsLocation: String = "/var/local/keytabs" override val commandWithAuthentication: String = s"""ssh user@server:port "kadmin -p $authenticatingPrincipal"""" } new Kadmin(YourSettings)