Installer 10.15 | Complete Installation and Upgrade Information for Software AG Products | Command Central | Using the Command Line Interface | Security Credentials Commands | sagcc exec security encrypt
 
sagcc exec security encrypt
The command encrypts user passwords for product configurations, global shared secret configured in Command Central. You can copy the encrypted value from the command output and use it in place of the clear-text password, for example when you must specify this password in a template or properties file.
Syntax
*Command Central syntax:
sagcc exec security encrypt password=password           
[sharedSecret=sharedSecret] [options]
*Not supported on Platform Manager
Arguments and Options
Argument or Option
Description
password=password
Required. The user password to encrypt. Valid value is any string.
[sharedSecret=sharedSecret]
Optional. The shared secret configured for the Command Central landscape. If you omit this parameter, the command uses the default global shared secret, configured for Command Central. For more information about configuring a shared secret, see Configure Shared Secrets to Encrypt Instance and Component Passwords and sagcc add security credentials sharedsecret.
[options]
Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options.
Usage Notes
When you create a new environment with templates, use the same global shared secret in the new environment as the global shared secret you specified when encrypting the password. For example, if you encrypted the password with the global shared secret "secret_123", use the same global shared secret for the target installation in the new environment.
Examples When Executing on Command Central
To encrypt the proxy configuration password "manage", using the global shared secret configured for Command Central:
sagcc exec security encrypt password=manage