Fix protection level for host keys in cloudkms script.

Fixes #460
pull/457/head
Mariano Cano 3 years ago
parent 7f9d7eadc9
commit 51ac28656e

@ -234,7 +234,7 @@ func createSSH(c *cloudkms.CloudKMS, project, location, keyRing string, protecti
resp, err = c.CreateKey(&apiv1.CreateKeyRequest{
Name: parent + "/ssh-host-key",
SignatureAlgorithm: apiv1.ECDSAWithSHA256,
ProtectionLevel: apiv1.Software,
ProtectionLevel: protectionLevel,
})
if err != nil {
return err

Loading…
Cancel
Save