adminHDI ​
Command:
adminHDI
Category: HDI Management
Status: Production Ready
Description ​
Create an Admin User for HDI or assign HDI admin privileges to an existing user
Syntax ​
bash
hana-cli adminHDI [user] [password] [options]Aliases ​
adHDIadhdi
Command Diagram ​
Parameters ​
| Option | Type | Default | Group | Description |
|---|---|---|---|---|
[user] | string | (none) | Positional Argument | User to be created/assigned as HDI Admin. |
[password] | string | (none) | Positional Argument | Password for the new HDI Admin user. Not required if the user already exists and just needs to be assigned HDI Admin privileges. |
-a, --admin | boolean | false | Connection Parameters | Connect via admin (default-env-admin.json). |
--conn | string | (none) | Connection Parameters | Connection filename to override default-env.json. |
--disableVerbose, --quiet | boolean | false | Troubleshooting | Disable verbose output by removing extra human-readable output. Useful for scripting commands. |
-d, --debug | boolean | false | Troubleshooting | Debug hana-cli itself by adding lots of intermediate details. |
-h, --help | boolean | (none) | Options | Show help. |
-c, --create | boolean | true | Options | Create new user. Set to false to assign privileges to an existing user without creating a new one. |
-u, --user | string | (none) | Options | User to be created/assigned as HDI Admin. |
-p, --password | string | (none) | Options | Password for the new HDI Admin user. |
For a complete list of parameters and options, use:
bash
hana-cli adminHDI --helpExamples ​
Create New HDI Admin User ​
bash
hana-cli adminHDI HDI_ADMIN MySecurePassword123Creates a new user named HDI_ADMIN with HDI administrator privileges.
Assign HDI Admin Privileges to Existing User ​
bash
hana-cli adminHDI EXISTING_USER MyPassword --create falseAssigns HDI admin privileges to an existing user without creating a new user.
Using Named Parameters ​
bash
hana-cli adminHDI --user HDI_ADMIN --password MySecurePassword123Create HDI admin user using named option parameters.
Related Commands ​
See the Commands Reference for other commands in this category.