Provides a way to get the value of a MicroProfile configuration property stored in a specific configuration source.


asadmin [asadmin-options] get-config-property [--help]


The get-config-property gets the value for the given Eclipse MicroProfile configuration property name in one of the built-in configuration sources.

The source is specified with --source and, where there is ambiguity, the --sourceName and --moduleName options can be used.

For example, where the source is server, the --sourceName can be used to specify the name of the server where the property is to be stored.



Options for the asadmin utility. For information about these options, see the asadmin help page.


Displays the help text for the subcommand.


The name of the configuration property to get.


The configuration source where the property is stored.


The name of the source when there may be ambiguity, for example a source of type application must specify the name of the application.

This property is required for sources of type: config, server, application or module


The name of the module when the source is of type module. When this is specified, the sourceName parameter must be provided and must have the name of the application where the module is deployed.


Specifies the target where the configuration source resides.
Valid values are as follows:


Specifies the DAS (default).


Specifies a Payara Server instance.


Specifies a cluster.


Specifies a named configuration.


Example 1 Getting the configuration property value

This example gets the JMSBrokerURL property value within the configuration source named myApplication, belonging to the module myModule, and targeting the myAppCluster cluster.

asadmin get-config-property --propertyName=JMSBrokerURL --source=module --sourceName=myApplication --moduleName=myModule --target=myAppCluster

Exit Status


subcommand executed successfully


error in executing the subcommand

See Also