hide secret in boot log
This commit is contained in:
@@ -145,7 +145,9 @@ func getConfigWithoutSensitiveData(config *settings.Config) *settings.Config {
|
|||||||
|
|
||||||
clonedConfig.DatabaseConfig.DatabasePassword = "****"
|
clonedConfig.DatabaseConfig.DatabasePassword = "****"
|
||||||
clonedConfig.SMTPConfig.SMTPPasswd = "****"
|
clonedConfig.SMTPConfig.SMTPPasswd = "****"
|
||||||
|
clonedConfig.MinIOConfig.SecretAccessKey = "****"
|
||||||
clonedConfig.SecretKey = "****"
|
clonedConfig.SecretKey = "****"
|
||||||
|
clonedConfig.AmapApplicationSecret = "****"
|
||||||
|
|
||||||
return clonedConfig
|
return clonedConfig
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user