Feature: #103956 - Introduce install:password:set command

See forge#104058

Description

The Install Tool Password can now also be set via the TYPO3 command line interface instead of only via direct file access, allowing for more automation and easy hash generation without extra steps.

Usage

Interactively create and write an install-tool password hash:

bin/typo3 install:password:set
Copied!

Only return the generated password hash without writing to settings:

bin/typo3 install:password:set --dry-run
Copied!

No interaction mode (generates random password):

bin/typo3 install:password:set --no-interaction
Copied!

Options can be combined as needed:

bin/typo3 install:password:set --dry-run --no-interaction
Copied!

The last variation could be used for example in CI/CD automation to generate a suitable password, process the output (generated password needs to be persisted on its own) and store it in vaults or environment variables for further usage.

Impact

It is now possible to set the (hashed) Install Tool password using the TYPO3 command line interface.