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 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.
gcloud
Run the
gcloud beta network-security secure-access-connect realms list
command.
gcloud beta 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/v1beta1/project/PROJECT_ID/locations/global/sacRealms
Replace PROJECT_ID
with your project ID.
View realm details
gcloud
Run the
gcloud beta network-security secure-access-connect realms describe
command:
gcloud beta 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/v1beta1/project/PROJECT_ID/locations/global/sacRealms/REALM_ID
Replace the following:
PROJECT_ID
: your project IDREALM_ID
: the ID of the realm