View Source mix scr.create (SecretVault v1.2.1)

Creates a new secret in the specified environment and under the specified name using your preffered editor.

It uses configuration of the current application to retrieve the keys and other options.

usage

Usage

$ mix scr.create prod database_url

config-override

Config override

You can override config options by providing command line arguments.

  • :cipher - specify a cipher module to use;
  • :priv_path - path to priv directory;
  • :prefix - prefix to use (defaults to default);
  • :password - use a password that's different from the one that's configured.