v2.1.6+Encrypting passwords during model export and import
The Orchestration CLI password encryption option is a portable, user-controlled encryption mechanism that enables you to transfer credential definitions securely between different HCL Universal Orchestrator environments.
Why use password encryption
Each HCL Universal Orchestrator
installation uses a unique internal system encryption key. When you export user or
credential definitions without the ;password option, password
fields are encrypted with the {aes} prefix using the local system
key. A file exported this way cannot be imported into a different HCL Universal Orchestrator
environment because the system keys differ between installations.
The ;password[=key] option produces {aes-user}
prefixed values encrypted with a key you control. Because the key travels with the
operation rather than the environment, the exported file is portable across any
HCL Universal Orchestrator
installation.
Providing the encryption key
The encryption key is resolved in the following order of precedence:
| Method (priority order) | Description |
|---|---|
| 1. WA_EXPORT_PWD environment variable | Set the variable before running the command. Orchestration CLI reads the key from the variable without displaying it in the terminal. Recommended for automated pipelines and CI/CD setups. |
2. Inline parameter
;password=key |
Append the key directly to the item specification. This method may expose the key in shell history and is not recommended for production environments (OCLI_PWD_004). |
| 3. Interactive prompt | If neither of the above is set, Orchestration CLI prompts you to enter the key interactively. The key is not echoed to the terminal. |
The key must be 8-64 characters.
Import format compatibility
On import (replace, add,
modify), the Orchestration CLI
auto-detects the encryption prefix in the file and applies the appropriate
decryption method. For files that use only the {aes} prefix, no
additional option is required.
| Prefix | Source | User key required | Notes |
|---|---|---|---|
{aes-user} |
Orchestration CLI export with ;password | Yes | Portable across HCL Universal Orchestrator environments. |
{aes} |
Orchestration CLI internal export | No | Same-environment import only; the local system key is used automatically. |
AES: |
HWA composer Java export with export password | Yes | HWA compatibility import. |
ENCRYPT: |
HWA composer C export (legacy 3DES) | Yes | HWA legacy import. |