[Reference: https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys, After you enable OS Login on one or more instances in your project, those VMs accept connections only from user accounts that have the necessary IAM roles in your project or organization. In this case, we are granting the group compute.osLogin which lets them log in as non-administrator account. And since we are directing them to use Cloud Shell to ssh, we dont need to add their SSH keys to the instance metadata.Ref: https://cloud.google.com/compute/docs/instances/managing-instance-access#configure_usersRef: https://cloud.google.com/compute/docs/instances/managing-instance-access#add_oslogin_keys, , ]
Submit