View Source mix scr.edit (SecretVault v1.2.2)

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 so on.

Usage

$ mix scr.edit prod database_url

Config override

You can override config options by providing command line arguments.

  • :cipher - specify a cipher 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.