原文:SafeWriteConfig – writes the current viper configuration to the predefined path. Errors if no predefined path. Will not overwrite the current config file, if it exists.
在文档中可以找到如下描述:Viper uses crypt to retrieve configuration from the K/V store, which means that you can store your configuration values encrypted and have them automatically decrypted if you have the correct gpg keyring. Encryption is optional.