osc identity domain group role set

Assigns a role to a group on a domain.

Relationship: https://docs.openstack.org/api/openstack-identity/3/rel/domain_group_role

Usage: osc identity domain group role set <--domain-name <DOMAIN_NAME>|--domain-id <DOMAIN_ID>|--current-domain> <GROUP_ID> <ID>

Arguments:

  • <GROUP_ID> — group_id parameter for /v3/domains/{domain_id}/groups/{group_id}/roles/{role_id} API
  • <ID> — role_id parameter for /v3/domains/{domain_id}/groups/{group_id}/roles/{role_id} API

Options:

  • --domain-name <DOMAIN_NAME> — Domain Name
  • --domain-id <DOMAIN_ID> — Domain ID
  • --current-domain — Current domain