View Source mix scr.insert (SecretVault v1.2.2)
Creates a new secret in the specified environment and under the specified name.
It uses configuration of the current application to retrieve the keys and so on.
Usage
$ mix scr.insert prod database_password "My Super Secret Password"
Config override
You can override config options by providing command line arguments.
:cipher
- specify a cipher to use;:priv_path
- path topriv
directory;:prefix
- prefix to use (defaults todefault
);:password
- use a password that's different from the one that's configured.