Provides a way to configure the Directory configuration source.
Synopsis
asadmin [asadmin-options] set-config-dir [--help]
[--directory=<full.path.to.dir>]
[--target=<target[default:server]>]Description
The set-config-dir sets the directory to be used for the directory config source.
- 
Leaf directory cannot start with a dot, rendering /home/payara/.secretan invalid path ("." means hidden on a POSIX filesystem).
- 
If relative, will look beneath server instance location (usually to be found at domain-dir/)
- 
Defaults to secrets, targetingdomain-dir/secrets/
Options
- asadmin-options
- 
Options for the asadminutility. For information about these options, see theasadminhelp page.
- --help
- -?
- 
Displays the help text for the subcommand. 
- --directory
- 
Full path to the directory containing configuration files. Leaf directory name cannot start with a dot. Defaults to secrets.
- --target
- 
Specifies the target where the configuration source resides. 
 Valid values are as follows:- server
- 
Specifies the DAS (default). 
- instance-name
- 
Specifies a Payara Server instance. 
- cluster-name
- 
Specifies a cluster. 
- configuration-name
- 
Specifies a named configuration. 
 
Example
Example 1 Setting the Config Directory.
This example sets the directory to be used for the directory config source.
asadmin set-config-dir --directory=/home/payara/secrets --target=myAppCluster