mirror of https://github.com/hashicorp/consul
37 lines
715 B
Plaintext
37 lines
715 B
Plaintext
---
|
|
layout: "docs"
|
|
page_title: "Commands: Config List"
|
|
sidebar_current: "docs-commands-config-list"
|
|
---
|
|
|
|
# Consul Config List
|
|
|
|
Command: `consul config list`
|
|
|
|
The `config list` command lists all given config entries of the given kind.
|
|
See the
|
|
[agent configuration](/docs/agent/options.html#enable_central_service_config)
|
|
for more information on how to enable this functionality for centrally
|
|
configuring services.
|
|
|
|
## Usage
|
|
|
|
Usage: `consul config list [options]`
|
|
|
|
#### API Options
|
|
|
|
<%= partial "docs/commands/http_api_options_client" %>
|
|
|
|
#### Config List Options
|
|
|
|
* `-kind` - Specifies the kind of the config entry to read.
|
|
|
|
## Examples
|
|
|
|
$ consul config list -kind service-defaults
|
|
billing
|
|
db
|
|
web
|
|
|
|
|