mix secret_mana.gen.key (secret_mana v0.2.1)
View SourceGenerates a SecretMana key for the given environment.
Usage
mix secret_mana.gen.key <env>Where <env> is typically one of:
- dev
- test
- prod
The task will:
- Ensure the
:secret_manaapplication is started. - Build a
SecretMana.Configfor the given environment. - Invoke
SecretMana.gen_key/1with the config.
Examples
mix secret_mana.gen.key dev
mix secret_mana.gen.key prodGetting help
You can show this help via:
mix help secret_mana.gen.keyOr by using:
mix secret_mana.gen.key --help
mix secret_mana.gen.key -h