Skip to content

rsa-key-create

Creates a critical alert if a bootstrap Task failure occurs.

Uses ssh-keygen to create an RSA public/private key pair.

Stores keys in rsa/key-public and rsa/key-private on the cluster profile.

The public key (which contains newlines) is stored in single line format where newlines are removed.

Noop if the rsa/key-private exists.

This does NOT set the rsa/key-user (default: root) because this is often set specifically by the environment on each machine.