gce/Auth Principal Has Compute Metadata Permissions Check

Verifies if the authenticated user has permissions to update SSH metadata.

Product: Compute Engine
Step Type: AUTOMATED STEP

Description

This step checks if the user has the necessary permissions to modify SSH metadata at the project or instance level. It focuses on project-level permissions and does not consider permissions inherited from ancestor resources like folders or organizations.

Failure Reason

The current user does not have the necessary permissions to modify metadata, essential for managing SSH keys. Missing permissions include one of the following: .

Failure Remediation

To grant the required permissions for managing SSH keys within the VM’s metadata, follow these guides:

Success Reason

{auth_user} is authorized to update instance or project metadata, including SSH keys. This enables gcloud and cloud console to update temporary SSH access to the VM or configure personal SSH keys if needed.