2019-05-01 18:21:11 +00:00
|
|
|
---
|
2020-09-01 15:14:13 +00:00
|
|
|
layout: commands
|
2020-04-07 18:55:19 +00:00
|
|
|
page_title: 'Commands: Config List'
|
2019-05-01 18:21:11 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# Consul Config List
|
|
|
|
|
|
|
|
Command: `consul config list`
|
|
|
|
|
|
|
|
The `config list` command lists all given config entries of the given kind.
|
2020-10-14 15:23:05 +00:00
|
|
|
See the [configuration entries docs](/docs/agent/config-entries) for more
|
2019-05-08 20:19:37 +00:00
|
|
|
details about configuration entries.
|
2019-05-01 18:21:11 +00:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
Usage: `consul config list [options]`
|
|
|
|
|
|
|
|
#### API Options
|
|
|
|
|
2020-04-07 18:55:19 +00:00
|
|
|
@include 'http_api_options_client.mdx'
|
2019-05-01 18:21:11 +00:00
|
|
|
|
2020-02-07 20:01:04 +00:00
|
|
|
#### Enterprise Options
|
|
|
|
|
2020-04-07 18:55:19 +00:00
|
|
|
@include 'http_api_namespace_options.mdx'
|
2020-02-07 20:01:04 +00:00
|
|
|
|
2021-12-15 01:55:21 +00:00
|
|
|
@include 'http_api_partition_options.mdx'
|
|
|
|
|
2019-05-01 18:21:11 +00:00
|
|
|
#### Config List Options
|
|
|
|
|
2021-05-04 21:32:07 +00:00
|
|
|
- `-kind` - Specifies the kind of the config entry to list.
|
2019-05-01 18:21:11 +00:00
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
$ consul config list -kind service-defaults
|
|
|
|
billing
|
|
|
|
db
|
|
|
|
web
|