This command generates a new random key for encryption and decryption.
envman generate:key production-env-key
generate:key <key-name>
Argument | Description | Default |
---|---|---|
key-name |
Name of the key to be generated |
- The keys are generated with php-encryption.
- DO NOT commit any generated key into your repository. That defeats the whole purpose because any one can decrypt the encrypted variables.