consul/website/pages/docs/commands/config/list.mdx

37 lines
669 B
Plaintext
Raw Normal View History

---
2020-04-07 18:55:19 +00:00
layout: docs
page_title: 'Commands: Config List'
sidebar_title: list
---
# Consul Config List
Command: `consul config list`
The `config list` command lists all given config entries of the given kind.
2020-04-09 23:46:54 +00:00
See the [configuration entries docs](/docs/agent/config_entries) for more
details about configuration entries.
## Usage
Usage: `consul config list [options]`
#### API Options
2020-04-07 18:55:19 +00:00
@include 'http_api_options_client.mdx'
#### Enterprise Options
2020-04-07 18:55:19 +00:00
@include 'http_api_namespace_options.mdx'
#### Config List Options
2020-04-07 18:55:19 +00:00
- `-kind` - Specifies the kind of the config entry to read.
## Examples
$ consul config list -kind service-defaults
billing
db
web