-
Notifications
You must be signed in to change notification settings - Fork 132
Open
Description
When attempting to use --skip-defaults while using the basic auth plugin, the following error is output:
$ deck gateway dump --skip-defaults
Error: getting Kong state: reading configuration from Kong: error removing defaults from basic auths: error fetching schema for entity basicauth_credential of type basicauth_credential: HTTP status 404 (message: "No entity named 'basicauth_credential'")If no options are specified, a warning will be displayed but the dump will proceed normally.
$ deck gateway dump
Warning: basic-auth credentials detected, IDs will be exported
_format_version: "3.0"
consumers:
- basicauth_credentials:
- id: 9e9590da-c63b-46c0-9ca3-742ff1e10fb6
password: 02e83da18cc7ed2945b79e469c357e18a8f0e10f
username: yamada
custom_id: yamada
id: 000e90f3-1f12-4758-ab41-335152d07c0f
keyauth_credentials:
- id: b2e76a34-ee67-4462-ab14-9a1cc54ac367
key: yamada-key
username: yamada
services:
- connect_timeout: 60000
enabled: true
host: httpbin.org
id: 4f4296f9-204f-47f1-8226-b7d00f53eb29
name: httpbin-service
path: /
port: 443
protocol: https
read_timeout: 60000
retries: 5
routes:
- https_redirect_status_code: 426
id: a48c0736-297b-4524-92a8-447ec937afa6
name: httpbin-route
path_handling: v0
paths:
- /httpbin
plugins:
- config:
anonymous: null
hide_credentials: false
realm: service
enabled: true
id: f84eb5e8-589d-40ff-9f5e-e1fb81488d6f
name: basic-auth
protocols:
- grpc
- grpcs
- http
- https
- ws
- wss
- config:
anonymous: null
hide_credentials: false
identity_realms:
- id: null
region: null
scope: cp
key_in_body: false
key_in_header: true
key_in_query: true
key_names:
- apikey
realm: null
run_on_preflight: true
enabled: true
id: 32e110cb-a99c-4deb-9dc2-169dca5d972b
name: key-auth
protocols:
- grpc
- grpcs
- http
- https
- ws
- wss
preserve_host: false
priority: 0
protocols:
- http
- https
regex_priority: 0
request_buffering: true
response_buffering: true
strip_path: true
write_timeout: 60000
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels