Simple and secure secrets manager in Elixir projects
The package can be installed
by adding secrex to our list of dependencies in mix.exs:
def deps do
  [
    {:secrex, "~> 0.3", runtime: false}
  ]
endFor usage information see the documentation.
There are two Mix tasks available:
mix secrex.encryptmix secrex.decrypt
Secrex requires some configuration in order to work. For example, in config/config.exs:
config :secrex,
  key_file: ".secret-key",
  files: ["config/env/prod.secret.exs"]:key_file- a path to the key file that will be used for encryption and decryption if this is not configured, you will be prompted to enter it later:files- list of files that needs to be encrypted and decrypted:cipher- the cipher module to handle secret encryption/decryption. Must be an implementation ofSecrex.Cipher. Defaults toSecrex.AES.
This software is licensed under the ISC license.