Skip to content

bootstrap-ssh

A task to generate a local ssh key and add to access-keys

This creates an ssh key pair if one doesn't exist. It then adds the public key to the access-keys parameters. if the access-keys parameter already exists, the task does nothing.

Note

will use existing id_rsa.pub if provided.

When bootstrap-ssh/console-key is true, the task also creates a dedicated console keypair: the public half joins the global access-keys-global map and the private half is stored in the global profile's console/ssh-key (unless one is already set), so the remote SSH console can authenticate to machines that ssh-access provisions.

Objects that Reference bootstrap-ssh

Objects used by bootstrap-ssh