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