createContainerUsers ​
Command:
createContainerUsers
Category: HDI Management
Status: Production Ready
Description ​
Create new HDI Container technical users for an existing container and populates connection details into default-env.json
Syntax ​
bash
hana-cli createContainerUsers [container] [options]Aliases ​
ccucContU
Command Diagram ​
Parameters ​
| Option | Type | Default | Group | Description |
|---|---|---|---|---|
[container] | string | (none) | Positional Argument | HDI Container for which to create users. |
-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, --container | string | (none) | Options | Container Name. |
-s, --save | boolean | true | Options | Save credentials to default-env.json. |
-e, --encrypt, --ssl | boolean | false | Options | Encrypt connections (required for SAP HANA service for SAP BTP or SAP HANA Cloud). |
For a complete list of parameters and options, use:
bash
hana-cli createContainerUsers --helpExamples ​
Create Users for Container ​
bash
hana-cli createContainerUsers myContainerCreates technical users for the existing HDI container myContainer and saves credentials to default-env.json.
Using Named Parameter ​
bash
hana-cli createContainerUsers --container myContainerCreate container users using named option parameter.
Without Saving Credentials ​
bash
hana-cli createContainerUsers myContainer --save falseCreates technical users without saving credentials to default-env.json.
With Encrypted Connection ​
bash
hana-cli createContainerUsers myContainer --encryptCreates users with SSL encryption enabled (required for SAP HANA Cloud).
Related Commands ​
See the Commands Reference for other commands in this category.