EncryptedSecrets.WriteSecrets (encrypted_secrets v0.3.0) View Source
Provides a method for reading a file then writing it as an encrypted string
Link to this section Summary
Functions
Writes an encrypted blank file to output_path
using key
.
Used for first time setup
Reads the contents of input_path
, encrypts it using key
,
and writes it to output_path
Link to this section Functions
Writes an encrypted blank file to output_path
using key
.
Used for first time setup
Returns {:ok, filepath} | {:error, message}
Reads the contents of input_path
, encrypts it using key
,
and writes it to output_path
Returns {:ok, filepath} | {:error, message}