dcloud iam users who-can

List the principals allowed to perform an action on a resource today

IAM iam:ListUsersRead

The same evaluation the routes perform, over every active principal of the organization.

Synopsis

dcloud iam users who-can --action action --resource resource

Flags

  • --actionRequired

    string

    One action, e.g. git:PushRepository

  • --resourceRequired

    string

    The RN of a resource of this organization, or * for every resource

Example

dcloud iam users who-can --action example --resource example

Generated from the API description, the same one the API checks requests against and the CLI is built from.