set-config-prop

Sets the value of a specific configuration property.

set-config-prop 
[-c value | --configuration=value]
[-b value | --bootstrap-config=value] 
<-n value | --name=value> 
<-v value | --value=value>
[-e <true|false> | --encrypt=<true|false>]

Overview

Use this command to set the value of a specific configuration property. There must be at most one such property and the value of the property must be representable as a string.

Options

Option Optional or Required Default Value Description
-c value
--configuration=value
Optional configuration.xml The path to the server configuration file.
-b value
--bootstrap-config=value
Optional none The path to the bootstrap configuration file. See Bootstrap.xml file for more information about this file.
-n value
--name=value
Required none The name of the configuration property.
-v value
--value=value
Required none The new value of the configuration property. This will replace any existing value.
-e <true|false>
--encrypt=<true|false>
Optional false Indicates whether the value should be stored encrypted.

Example

To set the absolute session timeout to one hour:
config set-config-prop --name="security.absolute-session-timeout" --value="60"