diff --git a/virt/virtual_machines/virt-accessing-vm-ssh.adoc b/virt/virtual_machines/virt-accessing-vm-ssh.adoc index 1deb8d5680..0def0dc4fc 100644 --- a/virt/virtual_machines/virt-accessing-vm-ssh.adoc +++ b/virt/virtual_machines/virt-accessing-vm-ssh.adoc @@ -43,9 +43,11 @@ include::modules/virt-about-static-and-dynamic-ssh-keys.adoc[leveloffset=+2] You can add a statically managed public SSH key when you create a virtual machine (VM) by using the {product-title} web console or the command line. The key is added as a cloud-init data source when the VM boots for the first time. -[TIP] +You can also add a public SSH key to a project when you create a VM by using the web console. The key is saved as a secret and is added automatically to all VMs that you create. + +[NOTE] ==== -You can also add the key to a project by using the {product-title} web console. Afterwards, this key is added automatically to VMs that you create in the project. +If you add a secret to a project and then delete the VM, the secret is retained because it is a namespace resource. You must delete the secret manually. ==== :context: static-key