role assignment entity
role assignment entity
The OLP CLI supports the following functionality for role assignment entity listing:
- list role assignment entities
role assignment entity list
Retrieves list of entities assigned with a role in the realm.
olp role assignment entity list <role HRN/role name> [command options]Required parameters:
<role HRN/role name>Either HRN or name of a role.
Optional parameters:
--entity-type <application or user>Type of entity. If not specified all types of entities are returned.--credentials <path to credentials file>The name of a credentials file to use with the command. Credentials files are downloaded separately from the HERE platform portal.--profile <profile name>The name of the credentials profile to use from theolpcli.inifile.--jsonDisplays the command result in JSON format.--quietDisplays a list of entity HRNs with no additional information.
For more information on using credentials and profiles, see Credentials setup.
Example:
The command below lists entities assigned with a role:
olp role assignment entity list hrn:here:authorization::org:role/ROLE-1234Output:
entity HRN name
hrn:here:account::org:app/VbuUq1SPowBl2mTuZelu CLI Test App
hrn:here:account::org:user/HERE-fcf838ac-a569-4823-bc54-c555e20f8c66 David BoonUpdated 21 days ago