mirror of https://github.com/hashicorp/consul
36 lines
653 B
Markdown
36 lines
653 B
Markdown
---
|
|
layout: commands
|
|
page_title: '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) for more
|
|
details about configuration entries.
|
|
|
|
## Usage
|
|
|
|
Usage: `consul config list [options]`
|
|
|
|
#### API Options
|
|
|
|
@include 'http_api_options_client.mdx'
|
|
|
|
#### Enterprise Options
|
|
|
|
@include 'http_api_namespace_options.mdx'
|
|
|
|
#### Config List Options
|
|
|
|
- `-kind` - Specifies the kind of the config entry to list.
|
|
|
|
## Examples
|
|
|
|
$ consul config list -kind service-defaults
|
|
billing
|
|
db
|
|
web
|