GCP Compute.instances.setMetadata
Sets or updates instance-level metadata on a Compute Engine VM, which can include SSH keys or startup scripts.
Adversaries may use [Valid Accounts](https://attack.mitre.org/techniques/T1078) to log into remote machines using Secure Shell (SSH). The adversary may then perform actions as the logged-on user.
View on MITRE ATT&CK →Sets or updates instance-level metadata on a Compute Engine VM, which can include SSH keys or startup scripts.
Sets project-wide Compute Engine metadata, applied to all instances and commonly used to manage SSH keys.
Creates an EC2 key pair and returns the private key material, used for SSH authentication to EC2 instances.
Establishes a serial console connection to a Compute Engine VM, providing low-level instance access.
Imports an existing RSA or ED25519 public key into EC2 for use as a key pair when launching instances.
Creates or updates an SSH public key resource in Azure, used to authenticate to Linux virtual machines.
Pushes an SSH public key to an EC2 instance's serial console interface, enabling SSH access over the serial port.
Pushes a temporary SSH public key to an EC2 instance via EC2 Instance Connect, valid for 60 seconds.
Imports an SSH public key into a user's GCP OS Login profile, enabling SSH access to Compute Engine instances.
Updates an existing SSH public key in a user's GCP OS Login profile.