{% extends "setup/layout.html" %} {% block content %}

Step 2 of 6

GCP Authentication

Choose your installation mode and how Governor authenticates with Google Cloud.

{% set selected_installation_mode = installation_mode if installation_mode is defined else (state.installation_mode if state and state.installation_mode else "cloud") %}

Installation Mode

{# ── Auth method toggle — 60% width, centered, compact ── #} {% set selected_method = auth_method if auth_method is defined else "json" %}
{# ── Required roles ── #}

Required IAM Roles

{% if errors and errors.credentials %}
{{ errors.credentials }}
{% endif %} {% if errors and errors.network %}
GCP API unreachable: {{ errors.network }}
{% endif %}
{# ── JSON inputs ── #}
or upload
{# ── ADC notice ── #}

No key file needed.

Governor uses the service account attached to this Cloud Run service. Ensure it has all four IAM roles above.

Service account: detecting…
{% endblock %}