mix secret_mana.encrypt (secret_mana v0.2.1)

View Source

Encrypts a file using SecretMana for the given environment.

Usage

mix secret_mana.encrypt <env> <file>

Where:

  • <env> is typically one of:

    • dev
    • test
    • prod
  • <file> is the path to the file you want to encrypt.

The task will:

Examples

mix secret_mana.encrypt dev config/secrets.yml
mix secret_mana.encrypt prod priv/secrets.json

Getting help

You can show this help via:

mix help secret_mana.encrypt

Or by using:

mix secret_mana.encrypt --help
mix secret_mana.encrypt -h