- gcloud alpha service-management check-iam-policy - returns information about a member's permissions on a service
gcloud alpha service-management check-iam-policy
(DEPRECATED)Returns information about a member's permissions on a service.
service-management check-iam-policycommand has been replaced by
endpoints services check-iam-policy.
This command lists the permissions that the current authenticated gcloud user has for a service. For example, if the authenticated user is able to delete the service,
servicemanagement.services.deletewill be among the returned permissions.
- POSITIONAL ARGUMENTS
- The name of the service for which to check the IAM policy.
- GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration,
--flatten, --format, --help, --log-http, --project, --quiet, --trace-token,
--user-output-enabled, --verbosity. Run
$ gcloud helpfor details.
To check the permissions for the currently authenticated gcloud, run:
$ gcloud alpha service-management check-iam-policy \ my_produced_service_name
- This command is currently in ALPHA and may change without notice. These variants are also available: