NOTEYou can use the
ssd api-management create rolecommand or its shortened versionssd apim create role.
TIPFor more specific information, refer to the documentation on access roles on Sensedia API Platform.
The ssd api-management create role command can be followed by flags with their respective arguments:
If no flag is specified, the interactive mode will be activated.
When creating a role, you must set access permission to at least one feature.
In the direct mode, this is done through the flag -p, --permission, as in the following example:
The access types available for each feature are:
view (viewing permission);edit (edit permission);view;edit (viewing and edit permission).You can set permission to access the following features:
access_tokensalertanalyticsapisapis_healthapi_connectorsappsattributesauditcache_controlcallbackscertificatedashboarddata_obfuscationdevelopersenvironmentsevents_hubhealth_checksimpact_analysisinbound_addressintegrationsldapmail_settingsmulti-factor_authenticationnotificationsoauthopen_bankingorganizationsplansrolessecretsteamstracetrace_decryptusersworkflowThe -d, --description flag allows you to add a description to the role:
The following flags can be used with the ssd api-management create role command:
Flag | Type | Description |
|---|---|---|
| -d, --description | string | Role description |
| -h, --help | Displays help for the command | |
| -p, --permission | string | Sets access types to features for the role. E.g.: --permission "alert:view;edit" |
Flag | Type | Description |
|---|---|---|
| -c, --config | string | Configuration file (default: $HOME/.sensedia/config.json) |
| --profile | string | The configuration profile you want to use (default: "default") |
| --verbose | Lists all requests made by the command. It is possible to store this information in a TXT file instead of displaying it on the terminal. E.g.: $ ssd (api-management | apim) list apis --verbose 2> log.txt |
We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more