From 1f150d99c03f73314c9f9f2e287e215633ccfc39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Herrmann?= Date: Wed, 10 Jul 2024 14:40:37 +0200 Subject: [PATCH] CNV-31833: Expanded Static key management --- virt/virtual_machines/virt-accessing-vm-ssh.adoc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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