applications / users - Keyrock command
This command allows you to manage users for Keyrock.
Common Options
Options | Description |
---|---|
--host VALUE, -h VALUE | broker or server host VALUE (required) |
--aid VALUE, -i VALUE | application id (required) |
--help | show help (default: true) |
List users
This command lists all users.
ngsi applications [command options] users --aid {id} list [options]
Options
Options | Description |
---|---|
--host VALUE, -h VALUE | broker or server host VALUE (required) |
--aid VALUE, -i VALUE | application id (required) |
--verbose, -v | verbose (default: false) |
--pretty, -P | pretty format (default: false) |
--help | show help (default: true) |
Get a user.
This command gets a user.
ngsi application [command options] users --aid {id} get [options]
Options
Options | Description |
---|---|
--host VALUE, -h VALUE | broker or server host VALUE (required) |
--aid VALUE, -i VALUE | application id (required) |
--uid VALUE, -i VALUE | user id (required) |
--verbose, -v | verbose (default: false) |
--pretty, -P | pretty format (default: false) |
--help | show help (default: true) |
assign a user
This command assigns a user.
ngsi application [command options] users --aid {id} assign [options]
Options
Options | Description |
---|---|
--host VALUE, -h VALUE | broker or server host VALUE (required) |
--aid VALUE, -i VALUE | application id (required) |
--uid VALUE, -i VALUE | user id (required) |
--rid VALUE, -r VALUE | role id (required) |
--verbose, -v | verbose (default: false) |
--pretty, -P | pretty format (default: false) |
--help | show help (default: true) |
Unassign a user
This command unassigns a user.
ngsi application [command options] users --aid {id} unassign [options]
Options
Options | Description |
---|---|
--host VALUE, -h VALUE | broker or server host VALUE (required) |
--aid VALUE, -i VALUE | application id (required) |
--uid VALUE, -i VALUE | user id (required) |
--rid VALUE, -r VALUE | role id (required) |
--help | show help (default: true) |