Documentation ¶ Index ¶ func Encrypt(value string, passphrase string, file bool) (string, error) func File(filepath string, passphrase string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Encrypt ¶ func Encrypt(value string, passphrase string, file bool) (string, error) Encrypt encrypts the value of given value in yaml file func File ¶ func File(filepath string, passphrase string) error File is used to encrypt contents of YAML file encrypted using our library contents to be encrypted should be formatted as follows eg: Username : Dec(tarun) Password : Dec(mypasskey) Types ¶ This section is empty. Source Files ¶ View all Source files encrypt.go encryptFile.go Click to show internal directories. Click to hide internal directories.