open-consul/website/pages/docs/commands/config/list.html.md.erb

37 lines
733 B
Plaintext
Raw Normal View History

---
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 [configuration entries docs](/docs/agent/config_entries.html) for more
details about configuration entries.
## Usage
Usage: `consul config list [options]`
#### API Options
<%= partial "docs/commands/http_api_options_client" %>
#### Enterprise Options
<%= partial "docs/commands/http_api_namespace_options" %>
#### Config List Options
* `-kind` - Specifies the kind of the config entry to read.
## Examples
$ consul config list -kind service-defaults
billing
db
web