[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# View realm details\n\n| **Preview**\n|\n|\n| This feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nThis document explains how to view Secure Access Connect realms and\nrealm details.\n\nRequired roles\n--------------\n\n\nTo get the permissions that\nyou need to view realm details,\n\nask your administrator to grant you the\n\n\n[Compute Network Viewer](/iam/docs/roles-permissions/compute#compute.networkViewer) (`roles/compute.networkViewer`)\nIAM role on project.\n\n\nFor more information about granting roles, see [Manage access to projects, folders, and organizations](/iam/docs/granting-changing-revoking-access).\n\n\nYou might also be able to get\nthe required permissions through [custom\nroles](/iam/docs/creating-custom-roles) or other [predefined\nroles](/iam/docs/roles-overview#predefined).\n\nView all realms in a project\n----------------------------\n\nTo view all realms in a project, do the following. \n\n### gcloud\n\nRun the\n[`gcloud beta network-security secure-access-connect realms list` command](/sdk/gcloud/reference/beta/network-security/secure-access-connect/realms/list). \n\n gcloud beta network-security secure-access-connect realms list \\\n --project=\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e\n\nReplace \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e with your project ID.\n\n### API\n\nUse the [`projects.locations.sacRealms.list` method](/secure-access-connect/docs/reference/network-security/rest/v1beta1/projects.locations.sacRealms/list) \n\n GET https://networksecurity.googleapis.com/v1beta1/project/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/locations/global/sacRealms\n\nReplace \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e with your project ID.\n\nView realm details\n------------------\n\n### gcloud\n\nRun the\n[`gcloud beta network-security secure-access-connect realms describe` command](/sdk/gcloud/reference/beta/network-security/secure-access-connect/realms/describe): \n\n gcloud beta network-security secure-access-connect realms describe \u003cvar translate=\"no\"\u003eREALM_ID\u003c/var\u003e \\\n --project=\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eREALM_ID\u003c/var\u003e: the ID of the realm\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: your project ID\n\n### API\n\nUse the [`projects.locations.sacRealms.get` method](/secure-access-connect/docs/reference/network-security/rest/v1beta1/projects.locations.sacRealms/get) \n\n GET https://networksecurity.googleapis.com/v1beta1/project/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/locations/global/sacRealms/\u003cvar translate=\"no\"\u003eREALM_ID\u003c/var\u003e\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: your project ID\n- \u003cvar translate=\"no\"\u003eREALM_ID\u003c/var\u003e: the ID of the realm"]]