You are browsing documentation for an outdated version. See the
latest documentation here.
deck konnect dump
konnect dump command reads all entities present in Konnect
and writes them to a local file.
The file can then be read using the
deck konnect sync command or
deck konnect diff command to
Deprecation notice: The
deck konnect command has been deprecated as of
v1.12. Please use
deck <cmd> instead if you would like to declaratively
manage your Kong Gateway config with Konnect.
deck konnect dump [command-specific flags] [global flags]
- output file format: json or yaml. (Default:
- help for dump (Default:
- export consumers, associated credentials and any plugins associated with consumers. (Default:
- file to which to write Kong’s configuration. (Default:
- write ID of all entities in the output. (Default:
yes to prompts and run non-interactively. (Default:
- Share anonymized data to help improve decK.
--analytics=false to disable this. (Default:
- Custom CA certificate (raw contents) to use to verify Kong’s Admin TLS certificate.
This value can also be set using DECK_CA_CERT environment variable.
This takes precedence over
- Path to a custom CA certificate to use to verify Kong’s Admin TLS certificate.
This value can also be set using DECK_CA_CERT_FILE environment variable.
- Config file (default is $HOME/.deck.yaml).
- HTTP headers (key:value) to inject in all requests to Kong’s Admin API.
This flag can be specified multiple times to inject multiple headers.
- HTTP address of Kong’s Admin API.
This value can also be set using the environment variable DECK_KONG_ADDR
environment variable. (Default:
- Address of the Konnect endpoint. (Default:
- Email address associated with your Konnect account.
- Password associated with your Konnect account, this takes precedence over
- File containing the password to your Konnect account.
- Disable colorized output (Default:
- Skip API calls related to Workspaces (Kong Enterprise only). (Default:
- Set a request timeout for the client to connect with Kong (in seconds). (Default:
- Name to use to verify the hostname in Kong’s Admin TLS certificate.
This value can also be set using DECK_TLS_SERVER_NAME environment variable.
- Disable verification of Kong’s Admin TLS certificate.
This value can also be set using DECK_TLS_SKIP_VERIFY environment variable. (Default:
- Enable verbose logging levels
Setting this value to 2 outputs all HTTP requests/responses
between decK and Kong. (Default: