-
kongctl
This page is an introduction to kongctl, Kong's command-line tool for managing Konnect resources and infrastructure as code.
-
Get started with kongctl
Learn how to use kongctl to manage Kong Konnect resources
-
Authentication with kongctl
Learn how to authenticate kongctl to Kong Konnect using the device flow or personal access tokens.
kongctl Documentation
Install kongctl
-
Install kongctl on macOS
Use Homebrew to install kongctl
-
Install kongctl on Linux
Download and install the binary
-
Install kongctl on Windows
Install the Windows binary
-
Install kongctl with Mise
Use mise package manager
-
Authentication with kongctl
Learn how to authenticate kongctl to Kong Konnect using the device flow or personal access tokens.
Declarative Configuration
-
Declarative configuration with kongctl
Learn how to manage Kong Konnect infrastructure as code using declarative YAML configuration.
Troubleshooting
-
Troubleshooting kongctl
Common issues and solutions when using kongctl.
Adopt Resources
-
kongctl adopt
Adopt Kong resources using kongctl.
-
kongctl adopt api
Adopt API resources.
-
kongctl adopt auth-strategy
Adopt authentication strategies.
-
kongctl adopt control-plane
Adopt control plane configurations.
-
kongctl adopt konnect
Adopt Konnect resources.
-
kongctl adopt organization
Adopt organization settings.
-
kongctl adopt portal
Adopt Dev Portal configuration.
-
kongctl adopt konnect api
Adopt Konnect APIs.
-
kongctl adopt konnect auth-strategy
Adopt Konnect authentication strategies.
-
kongctl adopt konnect control-plane
Adopt Konnect control plane configuration.
-
kongctl adopt konnect organization
Adopt Konnect organization settings.
-
kongctl adopt konnect portal
Adopt Konnect Developer Portal configuration.
-
kongctl adopt organization team
Adopt organization teams.
API Requests
-
kongctl api
Make API requests using kongctl.
-
kongctl api delete
Delete resources via API.
-
kongctl api get
Retrieve resources via API.
-
kongctl api patch
Partially update resources via API.
-
kongctl api post
Create resources via API.
-
kongctl api put
Update resources via API.
Apply Configuration
-
kongctl apply
Apply Konnect configuration using kongctl.
-
kongctl apply konnect
Apply configuration to Konnect control planes.
Create Resources
-
kongctl create
Create resources using kongctl.
-
kongctl create gateway
Create a gateway.
-
kongctl create konnect
Create resources in Konnect.
-
kongctl create gateway control-plane
Create a control plane for a gateway.
-
kongctl create konnect gateway
Create a gateway in Konnect.
Delete Resources
-
kongctl delete
Delete resources using kongctl.
-
kongctl delete gateway
Delete a gateway.
-
kongctl delete konnect
Delete resources from Konnect.
-
kongctl delete portal
Delete Portal configuration.
-
kongctl delete gateway control-plane
Delete a gateway control plane.
-
kongctl delete konnect gateway
Delete a gateway from Konnect.
-
kongctl delete konnect portal
Delete Portal configuration from Konnect.
-
kongctl delete portal application-registrations
Delete Portal application registrations.
-
kongctl delete portal applications
Delete Portal applications.
View Diffs
-
kongctl diff
Compare configurations using kongctl.
-
kongctl diff konnect
Show Konnect configuration differences.
Export Configuration
-
kongctl dump
Export configurations using kongctl.
-
kongctl dump declarative
Export declarative configuration.
-
kongctl dump tf-import
Export configurations into Terraform format.
Get Resources
-
kongctl get
Get detailed information about resources using kongctl.
-
kongctl get api
Get API details.
-
kongctl get audit-logs
Get audit logs.
-
kongctl get auth-strategy
Get authentication strategy details.
-
kongctl get catalog
Get API catalog details.
-
kongctl get gateway
Get gateway information.
-
kongctl get konnect
Get Konnect account information.
-
kongctl get me
Get current user information.
-
kongctl get organization
Get organization details.
-
kongctl get portal
Get Portal configuration.
-
kongctl get profile
Get user profiles.
-
kongctl get regions
Get available regions.
-
kongctl get api attributes
Get API attributes.
-
kongctl get api documents
Get API documents.
-
kongctl get api implementations
Get API implementations.
-
kongctl get api publications
Get API publications.
-
kongctl get api versions
Get API versions.
-
kongctl get audit-logs destination
Get audit log destination.
-
kongctl get audit-logs destinations
Get audit log destinations.
-
kongctl get audit-logs webhook
Get audit log webhook.
-
kongctl get catalog service
Get catalog service.
-
kongctl get gateway consumer
Get gateway consumer.
-
kongctl get gateway control-plane
Get gateway control plane.
-
kongctl get gateway route
Get gateway route.
-
kongctl get gateway service
Get gateway service.
-
kongctl get konnect api
Get Konnect API information.
-
kongctl get konnect audit-logs
Get Konnect audit logs.
-
kongctl get konnect auth-strategy
Get Konnect authentication strategy details.
-
kongctl get konnect gateway
Get Konnect gateway information.
-
kongctl get konnect me
Get Konnect user information.
-
kongctl get konnect organization
Get Konnect organization details.
-
kongctl get konnect portal
Get Konnect Portal configuration.
-
kongctl get konnect regions
Get Konnect available regions.
-
kongctl get organization system-account
Get organization system account.
-
kongctl get organization team
Get organization team.
-
kongctl get portal application-registrations
Get Portal application registrations.
-
kongctl get portal applications
Get Portal applications.
-
kongctl get portal assets
Get Portal assets.
-
kongctl get portal auth-settings
Get Portal authentication settings.
-
kongctl get portal developers
Get Portal developers.
-
kongctl get portal email-domains
Get Portal email domains.
-
kongctl get portal pages
Get Portal pages.
-
kongctl get portal snippets
Get Portal snippets.
-
kongctl get portal team-roles
Get Portal team roles.
-
kongctl get portal teams
Get Portal teams.
Lint Files
-
kongctl lint
Validate configuration files against a linting ruleset.
List Resources
-
kongctl list
List resources using kongctl.
-
kongctl list api
List APIs.
-
kongctl list auth-strategy
List authentication strategies.
-
kongctl list gateway
List gateways.
-
kongctl list konnect
List Konnect resources.
-
kongctl list organization
List organizations.
-
kongctl list portal
List Portal configurations.
-
kongctl list themes
List Portal themes.
-
kongctl list api attributes
List API attributes.
-
kongctl list api documents
List API documents.
-
kongctl list api implementations
List API implementations.
-
kongctl list api publications
List API publications.
-
kongctl list api versions
List API versions.
-
kongctl list gateway consumer
List gateway consumers.
-
kongctl list gateway control-plane
List gateway control planes.
-
kongctl list gateway route
List gateway routes.
-
kongctl list gateway service
List gateway services.
-
kongctl list konnect api
List Konnect APIs.
-
kongctl list konnect auth-strategy
List Konnect authentication strategies.
-
kongctl list konnect event-gateway
List Konnect event gateways.
-
kongctl list konnect gateway
List Konnect gateways.
-
kongctl list konnect organization
List Konnect organizations.
-
kongctl list konnect portal
List Konnect Portal configurations.
-
kongctl list organization system-account
List organization system accounts.
-
kongctl list organization team
List organization teams.
-
kongctl list portal application-registrations
List Portal application registrations.
-
kongctl list portal applications
List Portal applications.
-
kongctl list portal assets
List Portal assets.
-
kongctl list portal auth-settings
List Portal authentication settings.
-
kongctl list portal developers
List Portal developers.
-
kongctl list portal email-domains
List Portal email domains.
-
kongctl list portal pages
List Portal pages.
-
kongctl list portal snippets
List Portal snippets.
-
kongctl list portal team-roles
List Portal team roles.
-
kongctl list portal teams
List Portal teams.
Listen to Events
-
kongctl listen
Listen to events using kongctl.
-
kongctl listen audit-logs
Listen to audit log stream.
-
kongctl listen konnect
Listen to Konnect events.
-
kongctl listen konnect audit-logs
Listen to Konnect audit log stream.
Login and Logout
-
kongctl login
Authenticate with kongctl.
-
kongctl login konnect
Log in to Konnect.
-
kongctl logout
Log out with kongctl.
-
kongctl logout konnect
Log out from Konnect.
Patch Files
-
kongctl patch
Patch resources using kongctl.
-
kongctl patch file
Apply patches from a declarative config file.
Plan Configuration Changes
-
kongctl plan
Plan changes using kongctl.
-
kongctl plan konnect
Plan changes for Konnect.
Manage Processes
-
kongctl ps
Manage processes using kongctl.
-
kongctl ps stop
Stop Kong processes.
Sync Configuration
-
kongctl sync
Synchronize configurations using kongctl.
-
kongctl sync konnect
Sync configuration with Konnect control planes.
Tail Logs
-
kongctl tail
Tail logs using kongctl.
-
kongctl tail audit-logs
Tail audit logs.
-
kongctl tail konnect
Tail Konnect events.
-
kongctl tail konnect audit-logs
Tail Konnect audit logs.
Viewer
-
kongctl view
Launch the Konnect interactive viewer.