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>
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 |
---|---|---|---|
|
Optional | configuration.xml | The path to the server configuration file. |
|
Optional | none | The path to the bootstrap configuration file. See Bootstrap.xml file for more information about this file. |
|
Required | none | The name of the configuration property. |
|
Required | none | The new value of the configuration property. This will replace any existing value. |
Example
To set the absolute session timeout to one hour:
config set-config-prop --name="security.absolute-session-timeout" --value="60"
Parent topic: Command-line reference