gdcloud projects get-iam-policy

NAME

gdcloud projects get-iam-policy - List all the iam policy for a project.

SYNOPSIS

gdcloud projects get-iam-policy PROJECT_ID [flags]

EXAMPLES

To list all the iam policy for project "iam-test" sorted by members in ascending order and print out in json format, run:

    gdcloud projects get-iam-policy iam-test --flatten="bindings[].members" --format=json --sort-by="bindings.members"

GDCLOUD WIDE FLAGS

These flags are available to all commands: --configuration, --format, --help, --project, --quiet.

For more information, see the gdcloud CLI reference overview page.