Stay organized with collections
Save and categorize content based on your preferences.
NAME
gdcloud iam roles describe - Describe a role[custom/predefined].
SYNOPSIS
gdcloud iam roles describe ROLE_NAME [--project=PROJECT] [flags]
DESCRIPTION
Describe role[custom/predefined] permissions. This command retrieves and displays the global and zonal permissions of a role[custom/predefined]. If the --project flag is provided, it describes permissions of a project-scoped role; otherwise, it describes permissions of an organization-scoped role.
EXAMPLES
To describe a role at organization scope, run:
gdcloud iam roles describe org-role
To describe a role at project scope, run:
gdcloud iam roles describe project-role --project my-project
GDCLOUD WIDE FLAGS
These flags are available to all commands: --configuration, --format, --help, --project, --quiet.
[[["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-25 UTC."],[[["\u003cp\u003eThis command, \u003ccode\u003egdcloud iam roles describe\u003c/code\u003e, provides details about a specified IAM role, whether custom or predefined.\u003c/p\u003e\n"],["\u003cp\u003eThe command can describe roles scoped to either an organization or a specific project, controlled by using the \u003ccode\u003e--project\u003c/code\u003e flag.\u003c/p\u003e\n"],["\u003cp\u003eRunning \u003ccode\u003egdcloud iam roles describe org-role\u003c/code\u003e will show information for a role at the organization level.\u003c/p\u003e\n"],["\u003cp\u003eTo see the permissions of a project-scoped role, you can use \u003ccode\u003egdcloud iam roles describe project-role --project my-project\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe command includes wide flags that can be used, such as \u003ccode\u003e--configuration\u003c/code\u003e, \u003ccode\u003e--format\u003c/code\u003e, \u003ccode\u003e--help\u003c/code\u003e, \u003ccode\u003e--project\u003c/code\u003e, and \u003ccode\u003e--quiet\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# gdcloud iam roles describe\n\nNAME\n----\n\ngdcloud iam roles describe - Describe a role\\[custom/predefined\\].\n\nSYNOPSIS\n--------\n\n gdcloud iam roles describe ROLE_NAME [--project=PROJECT] [flags]\n\nDESCRIPTION\n-----------\n\nDescribe role\\[custom/predefined\\] permissions. This command retrieves and displays the global and zonal permissions of a role\\[custom/predefined\\]. If the --project flag is provided, it describes permissions of a project-scoped role; otherwise, it describes permissions of an organization-scoped role.\n\n### EXAMPLES\n\n\n To describe a role at organization scope, run:\n\n gdcloud iam roles describe org-role\n\n To describe a role at project scope, run:\n\n gdcloud iam roles describe project-role --project my-project\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/gdch/resources/gdcloud-reference/gdcloud) page."]]