cryptsetup luksFormat --open <mapping name> [...]
Feature request: I would like to be able to format a disk with LUKS and then open it straightaway, without prompting for a password again. We're adding support for encrypted filesystems to the Alpine Linux installation, and presently we have to do luksFormat and then luksOpen, which causes the user to enter their password a total of three times.