What happens if you don’t log into your instance until after the temporary private/public keys expire? Will I not be able to login to the instance?
If you are relying on the regular gcloud compute ssh to access your instance, AFAICT, it always creates a new key for your connection with a default expiration time.
"gcloud compute ssh ensures that the user’s public SSH key is present in the project’s metadata. If the user does not have a public SSH key, one is generated using ssh-keygen(1)" – my understanding here is that every time you gcloud compute ssh in, it’s going to renew an existing key or will create a new one.
Of course, I’m open to more comments.