This document explains how to view Secure Access Connect realms and realm details.
Required roles
To get the permissions that
you need to view realm details,
ask your administrator to grant you the
Compute Network Viewer (roles/compute.networkViewer) IAM role on your project.
For more information about granting roles, see Manage access to projects, folders, and organizations.
You might also be able to get the required permissions through custom roles or other predefined roles.
View all realms in a project
To view all realms in a project, do the following.
Console
In the Google Cloud console, go to the Secure Access Connect Realms page.
On the top left, choose the project that you want to view realms for. The realms are displayed on the page.
gcloud
Run the
gcloud network-security secure-access-connect realms list command.
gcloud network-security secure-access-connect realms list \
--project=PROJECT_ID
Replace PROJECT_ID with your project ID.
API
Use the projects.locations.sacRealms.list method
GET https://networksecurity.googleapis.com/v1/project/PROJECT_ID/locations/global/sacRealms
Replace PROJECT_ID with your project ID.
View realm details
To view the details of a specific realm, do the following.
Console
In the Google Cloud console, go to the Secure Access Connect Realms page.
Click the realm that you want to view details for.
gcloud
Run the
gcloud network-security secure-access-connect realms describe command:
gcloud network-security secure-access-connect realms describe REALM_ID \
--project=PROJECT_ID
Replace the following:
REALM_ID: the ID of the realmPROJECT_ID: your project ID
API
Use the projects.locations.sacRealms.get method
GET https://networksecurity.googleapis.com/v1/project/PROJECT_ID/locations/global/sacRealms/REALM_ID
Replace the following:
PROJECT_ID: your project IDREALM_ID: the ID of the realm