After you connect for the first time, Compute Engine generates an SSH key pair for you and stores it in one of the following locations:
-
By default, Compute Engine adds the generated key to project or instance metadata.
-
If your account is configured to use OS Login, Compute Engine stores the generated key with your user account.