wp config shuffle-salts <keys>

Refreshes the salts defined in the wp-config.php file

Arguments

NameDescription
keysOne ore more keys to shuffle. If none are provided, this falls back to the default WordPress Core salt keys

Options

NameDescription
--forceIf an unknown key is requested to be shuffled, add it instead of throwing a warning
--insecureRetry API download without certificate validation if TLS handshake fails. Note: This makes the request vulnerable to a MITM attack