Export your Zowe configuration with sensitive values redacted and common properties given matching keys for troubleshooting and sharing purposes.
Usage
zowe config export-redacted [options]
Options
-
--redact-strings | --rs (boolean)
-
--redact-numbers | --rn (boolean)
-
--redact-booleans | --rb (boolean)
-
--hide-secure-fields | --hsf (boolean)
-
--redact-profile-names | --rpn (boolean)
-
--show-host-path | --shp (boolean)
-
--dry-run | --dr (boolean)
-
--export-dir | -d (string)
- Directory where config files will be exported. Defaults to current working directory.
Examples
-
Export all config layers to current directory:
zowe config export-redacted
-
Export all config layers to specified directory:
zowe config export-redacted --export-dir ./exported-configs
-
Dry run - show redacted config to stdout:
zowe config export-redacted --dry-run
-
Export without redacting profile names:
zowe config export-redacted --export-dir ./configs --no-redact-profile-names
-
Export while showing the host and basePath values:
zowe config export-redacted --export-dir ./configs --show-host-path