human-element / module-crypt-key-cli
Adds CLI commands for managing the Magento encryption key
Installs: 72
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 8
Forks: 2
Open Issues: 0
Type:magento2-module
Requires
- magento/module-encryption-key: 100.4.*
README
This module adds a number of CLI commands to the bin/magento
command for managing encryption keys.
bin/magento humanelement:cryptkey:generate
- Generates an encryption key suitable for use inenv.php
.bin/magento humanelement:cryptkey:change
- Changes the encryption key inenv.php
and re-encrypts known encrypted values in the database with the new key. This functionality is identical to the Change Encryption Key button in the Magento admin UI.bin/magento humanelement:cryptkey:reencrypt
- Re-encrypts known values, but does not change the encryption key inenv.php
. This should be run after manually adding a key toenv.php
.