Skip to main content

List

List every setting, its value in effect and where it came from.

Each value shows where it came from: env, file, default or unset. The file and the environment are read the way osapi start reads them. Without a config file, the values are the defaults and the environment. Passwords, signing keys and tokens print as ********. --json carries the type, the default, the rules and the description of each key as well.

osapi config list

Examples​

osapi config list
osapi config list -f ./osapi.yaml --json

Global flags​

FlagDescriptionDefault
-d, --debugEnable or disable debug mode
-j, --jsonEnable JSON output
-f, --osapi-filePath to config file/etc/osapi/osapi.yaml

Output tells how the result is printed, and what --json gives.