Apply the KONGCTL-namespace label to an existing Konnect AI Gateway that is not currently managed by kongctl. Child subcommands adopt independently owned resources; adopting a gateway does not adopt its children.
kongctl adopt ai-gateway
Command usage
Usage:
kongctl adopt ai-gateway <ai-gateway-id|ai-gateway-display-name> [flags]
kongctl adopt ai-gateway [command]
Aliases:
ai-gateway, ai-gateways, aigw
Examples:
# Adopt an AI Gateway by display name
kongctl adopt ai-gateway my-ai-gateway --namespace team-alpha
Available Commands:
agents Adopt existing AI Gateway agents into a namespace
auth-strategies Adopt existing AI Gateway auth-strategies into a namespace
ca-certificates Adopt existing AI Gateway ca-certificates into a namespace
consumer-groups Adopt existing AI Gateway consumer-groups into a namespace
consumers Adopt existing AI Gateway consumers into a namespace
custom-policies Adopt existing AI Gateway custom-policies into a namespace
mcp-servers Adopt existing AI Gateway mcp-servers into a namespace
model-providers Adopt existing AI Gateway model-providers into a namespace
models Adopt existing AI Gateway models into a namespace
policies Adopt existing AI Gateway policies into a namespace
snis Adopt existing AI Gateway snis into a namespace
vaults Adopt existing AI Gateway vaults into a namespace
Flags:
--base-url string Base URL for Konnect API requests.
- Config path: [ konnect.base-url ]
- Default : [ https://us.api.konghq.com ]
--color-theme string Configures the CLI UI/theme (prompt, tables, TUI elements).
- Config path: [ color-theme ]
- Examples : [ auto, 0_x_96_f, 12_bit_rainbow, 13_th_floor, 3024_day ]
- List : [ kongctl list themes ] (default "auto")
--config-file string Path to the configuration file to load.
- Environment variable: KONGCTL_CONFIG_FILE (overridden by this flag)
- Default: [ $XDG_CONFIG_HOME/kongctl/config.yaml ]
--declarative-output string Write the adopted resource as declarative YAML to a new file
--dry-run[=true|false] Validate adoption and show ownership metadata changes without writing resources
-h, --help[=true|false] help for ai-gateway
--log-file string Write execution logs to the specified file instead of STDERR.
- Config path: [ log-file ]
--log-level string Configures the logging level. Execution logs are written to STDERR.
- Config path: [ log-level ]
- Allowed : [ trace|debug|info|warn|error ] (default "error")
--namespace string Namespace ownership metadata to apply to the resource (required)
--no-telemetry[=true|false] Disable telemetry for this command invocation. Overrides config and env.
- Config path: [ telemetry.enabled ]
- Env var : [ KONGCTL_NO_TELEMETRY ]
- Default : [ false ]
--no-trunc[=true|false] Preserve full cell widths in static text tables beyond terminal width.
Does not change column selection, UUID formatting, or explicit string slices.
- Config path: [ text.no-trunc ]
- Default : [ false ]
-o, --output string Configures the format of data written to STDOUT.
- Config path: [ output ]
- Allowed : [ json|yaml|text ] (default "text")
--overwrite-namespace[=true|false] Overwrite existing namespace ownership metadata on the resource
--pat string Konnect Personal Access Token (PAT) used to authenticate the CLI.
Setting this value overrides tokens obtained from the login command.
- Config path: [ konnect.pat ]
-p, --profile string Specify the profile to use for this command. (default "default")
--region string Konnect region identifier (for example "eu"). Used to construct the base URL when --base-url is not provided.
- Config path: [ konnect.region ]
--text-id-format string Configure UUID rendering in static text-table ID columns.
- Config path: [ text.id-format ]
- Allowed : [ compact|full ]
- Default : [ compact ]
--text-layout string Configure static text-table column selection.
- Config path: [ text.layout ]
- Allowed : [ compact|auto|wide ]
- Default : [ compact ]
Use "kongctl adopt ai-gateway [command] --help" for more information about a command.
kongctl adopt ai-gateway agents
Use the agents command to adopt existing agents for a specific Konnect AI Gateway into namespace management.
Usage:
kongctl adopt ai-gateway agents [name|id] [flags]
Aliases:
agents, agent
Examples:
kongctl adopt ai-gateway agents existing-child --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway agents --all --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway agents --name-pattern 'team-*' --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway agents --name-pattern 'legacy-*' --gateway-name shared-gateway --namespace team-a --parent-ref shared-gateway --declarative-output adopted.yaml
Flags:
--agent-id string Exact child UUID
--agent-name string Exact child name (including UUID-shaped names)
--all[=true|false] Adopt all children in this family within the selected parent
--base-url string Base URL for Konnect API requests.
- Config path: [ konnect.base-url ]
- Default : [ https://us.api.konghq.com ]
--color-theme string Configures the CLI UI/theme (prompt, tables, TUI elements).
- Config path: [ color-theme ]
- Examples : [ auto, 0_x_96_f, 12_bit_rainbow, 13_th_floor, 3024_day ]
- List : [ kongctl list themes ] (default "auto")
--config-file string Path to the configuration file to load.
- Environment variable: KONGCTL_CONFIG_FILE (overridden by this flag)
- Default: [ $XDG_CONFIG_HOME/kongctl/config.yaml ]
--declarative-output string Write selected adopted resources as declarative YAML to a new file
--dry-run[=true|false] Validate adoption and show ownership metadata changes without writing resources
--gateway-id string Parent AI Gateway UUID
--gateway-name string Exact parent AI Gateway name or display name
-h, --help[=true|false] help for agents
--log-file string Write execution logs to the specified file instead of STDERR.
- Config path: [ log-file ]
--log-level string Configures the logging level. Execution logs are written to STDERR.
- Config path: [ log-level ]
- Allowed : [ trace|debug|info|warn|error ] (default "error")
--name-pattern string Adopt children with names matching a quoted glob (*, ?, [abc])
--namespace string Namespace ownership metadata to apply to the resource (required)
--no-telemetry[=true|false] Disable telemetry for this command invocation. Overrides config and env.
- Config path: [ telemetry.enabled ]
- Env var : [ KONGCTL_NO_TELEMETRY ]
- Default : [ false ]
--no-trunc[=true|false] Preserve full cell widths in static text tables beyond terminal width.
Does not change column selection, UUID formatting, or explicit string slices.
- Config path: [ text.no-trunc ]
- Default : [ false ]
-o, --output string Configures the format of data written to STDOUT.
- Config path: [ output ]
- Allowed : [ json|yaml|text ] (default "text")
--overwrite-namespace[=true|false] Overwrite existing namespace ownership metadata on the resource
--parent-ref string Existing parent ref for exported !ref links; requires --declarative-output
--pat string Konnect Personal Access Token (PAT) used to authenticate the CLI.
Setting this value overrides tokens obtained from the login command.
- Config path: [ konnect.pat ]
-p, --profile string Specify the profile to use for this command. (default "default")
--region string Konnect region identifier (for example "eu"). Used to construct the base URL when --base-url is not provided.
- Config path: [ konnect.region ]
--text-id-format string Configure UUID rendering in static text-table ID columns.
- Config path: [ text.id-format ]
- Allowed : [ compact|full ]
- Default : [ compact ]
--text-layout string Configure static text-table column selection.
- Config path: [ text.layout ]
- Allowed : [ compact|auto|wide ]
- Default : [ compact ]
kongctl adopt ai-gateway auth-strategies
Use the auth-strategies command to adopt existing auth strategies for a specific Konnect AI Gateway into namespace management.
Usage:
kongctl adopt ai-gateway auth-strategies [name|id] [flags]
Aliases:
auth-strategies, auth-strategy
Examples:
kongctl adopt ai-gateway auth-strategies existing-child --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway auth-strategies --all --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway auth-strategies --name-pattern 'team-*' --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway auth-strategies --name-pattern 'legacy-*' --gateway-name shared-gateway --namespace team-a --parent-ref shared-gateway --declarative-output adopted.yaml
Flags:
--all[=true|false] Adopt all children in this family within the selected parent
--auth-strategy-id string Exact child UUID
--auth-strategy-name string Exact child name (including UUID-shaped names)
--base-url string Base URL for Konnect API requests.
- Config path: [ konnect.base-url ]
- Default : [ https://us.api.konghq.com ]
--color-theme string Configures the CLI UI/theme (prompt, tables, TUI elements).
- Config path: [ color-theme ]
- Examples : [ auto, 0_x_96_f, 12_bit_rainbow, 13_th_floor, 3024_day ]
- List : [ kongctl list themes ] (default "auto")
--config-file string Path to the configuration file to load.
- Environment variable: KONGCTL_CONFIG_FILE (overridden by this flag)
- Default: [ $XDG_CONFIG_HOME/kongctl/config.yaml ]
--declarative-output string Write selected adopted resources as declarative YAML to a new file
--dry-run[=true|false] Validate adoption and show ownership metadata changes without writing resources
--gateway-id string Parent AI Gateway UUID
--gateway-name string Exact parent AI Gateway name or display name
-h, --help[=true|false] help for auth-strategies
--log-file string Write execution logs to the specified file instead of STDERR.
- Config path: [ log-file ]
--log-level string Configures the logging level. Execution logs are written to STDERR.
- Config path: [ log-level ]
- Allowed : [ trace|debug|info|warn|error ] (default "error")
--name-pattern string Adopt children with names matching a quoted glob (*, ?, [abc])
--namespace string Namespace ownership metadata to apply to the resource (required)
--no-telemetry[=true|false] Disable telemetry for this command invocation. Overrides config and env.
- Config path: [ telemetry.enabled ]
- Env var : [ KONGCTL_NO_TELEMETRY ]
- Default : [ false ]
--no-trunc[=true|false] Preserve full cell widths in static text tables beyond terminal width.
Does not change column selection, UUID formatting, or explicit string slices.
- Config path: [ text.no-trunc ]
- Default : [ false ]
-o, --output string Configures the format of data written to STDOUT.
- Config path: [ output ]
- Allowed : [ json|yaml|text ] (default "text")
--overwrite-namespace[=true|false] Overwrite existing namespace ownership metadata on the resource
--parent-ref string Existing parent ref for exported !ref links; requires --declarative-output
--pat string Konnect Personal Access Token (PAT) used to authenticate the CLI.
Setting this value overrides tokens obtained from the login command.
- Config path: [ konnect.pat ]
-p, --profile string Specify the profile to use for this command. (default "default")
--region string Konnect region identifier (for example "eu"). Used to construct the base URL when --base-url is not provided.
- Config path: [ konnect.region ]
--text-id-format string Configure UUID rendering in static text-table ID columns.
- Config path: [ text.id-format ]
- Allowed : [ compact|full ]
- Default : [ compact ]
--text-layout string Configure static text-table column selection.
- Config path: [ text.layout ]
- Allowed : [ compact|auto|wide ]
- Default : [ compact ]
kongctl adopt ai-gateway ca-certificates
Use the ca-certificates command to adopt existing CA certificates for a specific Konnect AI Gateway into namespace management.
Usage:
kongctl adopt ai-gateway ca-certificates [name|id] [flags]
Aliases:
ca-certificates, ca-certificate
Examples:
kongctl adopt ai-gateway ca-certificates existing-child --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway ca-certificates --all --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway ca-certificates --name-pattern 'team-*' --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway ca-certificates --name-pattern 'legacy-*' --gateway-name shared-gateway --namespace team-a --parent-ref shared-gateway --declarative-output adopted.yaml
Flags:
--all[=true|false] Adopt all children in this family within the selected parent
--base-url string Base URL for Konnect API requests.
- Config path: [ konnect.base-url ]
- Default : [ https://us.api.konghq.com ]
--ca-certificate-id string Exact child UUID
--ca-certificate-name string Exact child name (including UUID-shaped names)
--color-theme string Configures the CLI UI/theme (prompt, tables, TUI elements).
- Config path: [ color-theme ]
- Examples : [ auto, 0_x_96_f, 12_bit_rainbow, 13_th_floor, 3024_day ]
- List : [ kongctl list themes ] (default "auto")
--config-file string Path to the configuration file to load.
- Environment variable: KONGCTL_CONFIG_FILE (overridden by this flag)
- Default: [ $XDG_CONFIG_HOME/kongctl/config.yaml ]
--declarative-output string Write selected adopted resources as declarative YAML to a new file
--dry-run[=true|false] Validate adoption and show ownership metadata changes without writing resources
--gateway-id string Parent AI Gateway UUID
--gateway-name string Exact parent AI Gateway name or display name
-h, --help[=true|false] help for ca-certificates
--log-file string Write execution logs to the specified file instead of STDERR.
- Config path: [ log-file ]
--log-level string Configures the logging level. Execution logs are written to STDERR.
- Config path: [ log-level ]
- Allowed : [ trace|debug|info|warn|error ] (default "error")
--name-pattern string Adopt children with names matching a quoted glob (*, ?, [abc])
--namespace string Namespace ownership metadata to apply to the resource (required)
--no-telemetry[=true|false] Disable telemetry for this command invocation. Overrides config and env.
- Config path: [ telemetry.enabled ]
- Env var : [ KONGCTL_NO_TELEMETRY ]
- Default : [ false ]
--no-trunc[=true|false] Preserve full cell widths in static text tables beyond terminal width.
Does not change column selection, UUID formatting, or explicit string slices.
- Config path: [ text.no-trunc ]
- Default : [ false ]
-o, --output string Configures the format of data written to STDOUT.
- Config path: [ output ]
- Allowed : [ json|yaml|text ] (default "text")
--overwrite-namespace[=true|false] Overwrite existing namespace ownership metadata on the resource
--parent-ref string Existing parent ref for exported !ref links; requires --declarative-output
--pat string Konnect Personal Access Token (PAT) used to authenticate the CLI.
Setting this value overrides tokens obtained from the login command.
- Config path: [ konnect.pat ]
-p, --profile string Specify the profile to use for this command. (default "default")
--region string Konnect region identifier (for example "eu"). Used to construct the base URL when --base-url is not provided.
- Config path: [ konnect.region ]
--text-id-format string Configure UUID rendering in static text-table ID columns.
- Config path: [ text.id-format ]
- Allowed : [ compact|full ]
- Default : [ compact ]
--text-layout string Configure static text-table column selection.
- Config path: [ text.layout ]
- Allowed : [ compact|auto|wide ]
- Default : [ compact ]
kongctl adopt ai-gateway consumer-groups
Use the consumer-groups command to adopt existing consumer groups for a specific Konnect AI Gateway into namespace management.
Usage:
kongctl adopt ai-gateway consumer-groups [name|id] [flags]
Aliases:
consumer-groups, consumer-group
Examples:
kongctl adopt ai-gateway consumer-groups existing-child --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway consumer-groups --all --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway consumer-groups --name-pattern 'team-*' --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway consumer-groups --name-pattern 'legacy-*' --gateway-name shared-gateway --namespace team-a --parent-ref shared-gateway --declarative-output adopted.yaml
Flags:
--all[=true|false] Adopt all children in this family within the selected parent
--base-url string Base URL for Konnect API requests.
- Config path: [ konnect.base-url ]
- Default : [ https://us.api.konghq.com ]
--color-theme string Configures the CLI UI/theme (prompt, tables, TUI elements).
- Config path: [ color-theme ]
- Examples : [ auto, 0_x_96_f, 12_bit_rainbow, 13_th_floor, 3024_day ]
- List : [ kongctl list themes ] (default "auto")
--config-file string Path to the configuration file to load.
- Environment variable: KONGCTL_CONFIG_FILE (overridden by this flag)
- Default: [ $XDG_CONFIG_HOME/kongctl/config.yaml ]
--consumer-group-id string Exact child UUID
--consumer-group-name string Exact child name (including UUID-shaped names)
--declarative-output string Write selected adopted resources as declarative YAML to a new file
--dry-run[=true|false] Validate adoption and show ownership metadata changes without writing resources
--gateway-id string Parent AI Gateway UUID
--gateway-name string Exact parent AI Gateway name or display name
-h, --help[=true|false] help for consumer-groups
--log-file string Write execution logs to the specified file instead of STDERR.
- Config path: [ log-file ]
--log-level string Configures the logging level. Execution logs are written to STDERR.
- Config path: [ log-level ]
- Allowed : [ trace|debug|info|warn|error ] (default "error")
--name-pattern string Adopt children with names matching a quoted glob (*, ?, [abc])
--namespace string Namespace ownership metadata to apply to the resource (required)
--no-telemetry[=true|false] Disable telemetry for this command invocation. Overrides config and env.
- Config path: [ telemetry.enabled ]
- Env var : [ KONGCTL_NO_TELEMETRY ]
- Default : [ false ]
--no-trunc[=true|false] Preserve full cell widths in static text tables beyond terminal width.
Does not change column selection, UUID formatting, or explicit string slices.
- Config path: [ text.no-trunc ]
- Default : [ false ]
-o, --output string Configures the format of data written to STDOUT.
- Config path: [ output ]
- Allowed : [ json|yaml|text ] (default "text")
--overwrite-namespace[=true|false] Overwrite existing namespace ownership metadata on the resource
--parent-ref string Existing parent ref for exported !ref links; requires --declarative-output
--pat string Konnect Personal Access Token (PAT) used to authenticate the CLI.
Setting this value overrides tokens obtained from the login command.
- Config path: [ konnect.pat ]
-p, --profile string Specify the profile to use for this command. (default "default")
--region string Konnect region identifier (for example "eu"). Used to construct the base URL when --base-url is not provided.
- Config path: [ konnect.region ]
--text-id-format string Configure UUID rendering in static text-table ID columns.
- Config path: [ text.id-format ]
- Allowed : [ compact|full ]
- Default : [ compact ]
--text-layout string Configure static text-table column selection.
- Config path: [ text.layout ]
- Allowed : [ compact|auto|wide ]
- Default : [ compact ]
kongctl adopt ai-gateway consumers
Use the consumers command to adopt existing consumers for a specific Konnect AI Gateway into namespace management.
Usage:
kongctl adopt ai-gateway consumers [name|id] [flags]
Aliases:
consumers, consumer
Examples:
kongctl adopt ai-gateway consumers existing-child --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway consumers --all --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway consumers --name-pattern 'team-*' --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway consumers --name-pattern 'legacy-*' --gateway-name shared-gateway --namespace team-a --parent-ref shared-gateway --declarative-output adopted.yaml
Flags:
--all[=true|false] Adopt all children in this family within the selected parent
--base-url string Base URL for Konnect API requests.
- Config path: [ konnect.base-url ]
- Default : [ https://us.api.konghq.com ]
--color-theme string Configures the CLI UI/theme (prompt, tables, TUI elements).
- Config path: [ color-theme ]
- Examples : [ auto, 0_x_96_f, 12_bit_rainbow, 13_th_floor, 3024_day ]
- List : [ kongctl list themes ] (default "auto")
--config-file string Path to the configuration file to load.
- Environment variable: KONGCTL_CONFIG_FILE (overridden by this flag)
- Default: [ $XDG_CONFIG_HOME/kongctl/config.yaml ]
--consumer-id string Exact child UUID
--consumer-name string Exact child name (including UUID-shaped names)
--declarative-output string Write selected adopted resources as declarative YAML to a new file
--dry-run[=true|false] Validate adoption and show ownership metadata changes without writing resources
--gateway-id string Parent AI Gateway UUID
--gateway-name string Exact parent AI Gateway name or display name
-h, --help[=true|false] help for consumers
--log-file string Write execution logs to the specified file instead of STDERR.
- Config path: [ log-file ]
--log-level string Configures the logging level. Execution logs are written to STDERR.
- Config path: [ log-level ]
- Allowed : [ trace|debug|info|warn|error ] (default "error")
--name-pattern string Adopt children with names matching a quoted glob (*, ?, [abc])
--namespace string Namespace ownership metadata to apply to the resource (required)
--no-telemetry[=true|false] Disable telemetry for this command invocation. Overrides config and env.
- Config path: [ telemetry.enabled ]
- Env var : [ KONGCTL_NO_TELEMETRY ]
- Default : [ false ]
--no-trunc[=true|false] Preserve full cell widths in static text tables beyond terminal width.
Does not change column selection, UUID formatting, or explicit string slices.
- Config path: [ text.no-trunc ]
- Default : [ false ]
-o, --output string Configures the format of data written to STDOUT.
- Config path: [ output ]
- Allowed : [ json|yaml|text ] (default "text")
--overwrite-namespace[=true|false] Overwrite existing namespace ownership metadata on the resource
--parent-ref string Existing parent ref for exported !ref links; requires --declarative-output
--pat string Konnect Personal Access Token (PAT) used to authenticate the CLI.
Setting this value overrides tokens obtained from the login command.
- Config path: [ konnect.pat ]
-p, --profile string Specify the profile to use for this command. (default "default")
--region string Konnect region identifier (for example "eu"). Used to construct the base URL when --base-url is not provided.
- Config path: [ konnect.region ]
--text-id-format string Configure UUID rendering in static text-table ID columns.
- Config path: [ text.id-format ]
- Allowed : [ compact|full ]
- Default : [ compact ]
--text-layout string Configure static text-table column selection.
- Config path: [ text.layout ]
- Allowed : [ compact|auto|wide ]
- Default : [ compact ]
kongctl adopt ai-gateway custom-policies
Use the custom-policies command to adopt existing custom policies for a specific Konnect AI Gateway into namespace management.
Usage:
kongctl adopt ai-gateway custom-policies [name|id] [flags]
Aliases:
custom-policies, custom-policy
Examples:
kongctl adopt ai-gateway custom-policies existing-child --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway custom-policies --all --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway custom-policies --name-pattern 'team-*' --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway custom-policies --name-pattern 'legacy-*' --gateway-name shared-gateway --namespace team-a --parent-ref shared-gateway --declarative-output adopted.yaml
Flags:
--all[=true|false] Adopt all children in this family within the selected parent
--base-url string Base URL for Konnect API requests.
- Config path: [ konnect.base-url ]
- Default : [ https://us.api.konghq.com ]
--color-theme string Configures the CLI UI/theme (prompt, tables, TUI elements).
- Config path: [ color-theme ]
- Examples : [ auto, 0_x_96_f, 12_bit_rainbow, 13_th_floor, 3024_day ]
- List : [ kongctl list themes ] (default "auto")
--config-file string Path to the configuration file to load.
- Environment variable: KONGCTL_CONFIG_FILE (overridden by this flag)
- Default: [ $XDG_CONFIG_HOME/kongctl/config.yaml ]
--custom-policy-id string Exact child UUID
--custom-policy-name string Exact child name (including UUID-shaped names)
--declarative-output string Write selected adopted resources as declarative YAML to a new file
--dry-run[=true|false] Validate adoption and show ownership metadata changes without writing resources
--gateway-id string Parent AI Gateway UUID
--gateway-name string Exact parent AI Gateway name or display name
-h, --help[=true|false] help for custom-policies
--log-file string Write execution logs to the specified file instead of STDERR.
- Config path: [ log-file ]
--log-level string Configures the logging level. Execution logs are written to STDERR.
- Config path: [ log-level ]
- Allowed : [ trace|debug|info|warn|error ] (default "error")
--name-pattern string Adopt children with names matching a quoted glob (*, ?, [abc])
--namespace string Namespace ownership metadata to apply to the resource (required)
--no-telemetry[=true|false] Disable telemetry for this command invocation. Overrides config and env.
- Config path: [ telemetry.enabled ]
- Env var : [ KONGCTL_NO_TELEMETRY ]
- Default : [ false ]
--no-trunc[=true|false] Preserve full cell widths in static text tables beyond terminal width.
Does not change column selection, UUID formatting, or explicit string slices.
- Config path: [ text.no-trunc ]
- Default : [ false ]
-o, --output string Configures the format of data written to STDOUT.
- Config path: [ output ]
- Allowed : [ json|yaml|text ] (default "text")
--overwrite-namespace[=true|false] Overwrite existing namespace ownership metadata on the resource
--parent-ref string Existing parent ref for exported !ref links; requires --declarative-output
--pat string Konnect Personal Access Token (PAT) used to authenticate the CLI.
Setting this value overrides tokens obtained from the login command.
- Config path: [ konnect.pat ]
-p, --profile string Specify the profile to use for this command. (default "default")
--region string Konnect region identifier (for example "eu"). Used to construct the base URL when --base-url is not provided.
- Config path: [ konnect.region ]
--text-id-format string Configure UUID rendering in static text-table ID columns.
- Config path: [ text.id-format ]
- Allowed : [ compact|full ]
- Default : [ compact ]
--text-layout string Configure static text-table column selection.
- Config path: [ text.layout ]
- Allowed : [ compact|auto|wide ]
- Default : [ compact ]
kongctl adopt ai-gateway mcp-servers
Use the mcp-servers command to adopt existing MCP servers for a specific Konnect AI Gateway into namespace management.
Usage:
kongctl adopt ai-gateway mcp-servers [name|id] [flags]
Aliases:
mcp-servers, mcp-server
Examples:
kongctl adopt ai-gateway mcp-servers existing-child --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway mcp-servers --all --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway mcp-servers --name-pattern 'team-*' --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway mcp-servers --name-pattern 'legacy-*' --gateway-name shared-gateway --namespace team-a --parent-ref shared-gateway --declarative-output adopted.yaml
Flags:
--all[=true|false] Adopt all children in this family within the selected parent
--base-url string Base URL for Konnect API requests.
- Config path: [ konnect.base-url ]
- Default : [ https://us.api.konghq.com ]
--color-theme string Configures the CLI UI/theme (prompt, tables, TUI elements).
- Config path: [ color-theme ]
- Examples : [ auto, 0_x_96_f, 12_bit_rainbow, 13_th_floor, 3024_day ]
- List : [ kongctl list themes ] (default "auto")
--config-file string Path to the configuration file to load.
- Environment variable: KONGCTL_CONFIG_FILE (overridden by this flag)
- Default: [ $XDG_CONFIG_HOME/kongctl/config.yaml ]
--declarative-output string Write selected adopted resources as declarative YAML to a new file
--dry-run[=true|false] Validate adoption and show ownership metadata changes without writing resources
--gateway-id string Parent AI Gateway UUID
--gateway-name string Exact parent AI Gateway name or display name
-h, --help[=true|false] help for mcp-servers
--log-file string Write execution logs to the specified file instead of STDERR.
- Config path: [ log-file ]
--log-level string Configures the logging level. Execution logs are written to STDERR.
- Config path: [ log-level ]
- Allowed : [ trace|debug|info|warn|error ] (default "error")
--mcp-server-id string Exact child UUID
--mcp-server-name string Exact child name (including UUID-shaped names)
--name-pattern string Adopt children with names matching a quoted glob (*, ?, [abc])
--namespace string Namespace ownership metadata to apply to the resource (required)
--no-telemetry[=true|false] Disable telemetry for this command invocation. Overrides config and env.
- Config path: [ telemetry.enabled ]
- Env var : [ KONGCTL_NO_TELEMETRY ]
- Default : [ false ]
--no-trunc[=true|false] Preserve full cell widths in static text tables beyond terminal width.
Does not change column selection, UUID formatting, or explicit string slices.
- Config path: [ text.no-trunc ]
- Default : [ false ]
-o, --output string Configures the format of data written to STDOUT.
- Config path: [ output ]
- Allowed : [ json|yaml|text ] (default "text")
--overwrite-namespace[=true|false] Overwrite existing namespace ownership metadata on the resource
--parent-ref string Existing parent ref for exported !ref links; requires --declarative-output
--pat string Konnect Personal Access Token (PAT) used to authenticate the CLI.
Setting this value overrides tokens obtained from the login command.
- Config path: [ konnect.pat ]
-p, --profile string Specify the profile to use for this command. (default "default")
--region string Konnect region identifier (for example "eu"). Used to construct the base URL when --base-url is not provided.
- Config path: [ konnect.region ]
--text-id-format string Configure UUID rendering in static text-table ID columns.
- Config path: [ text.id-format ]
- Allowed : [ compact|full ]
- Default : [ compact ]
--text-layout string Configure static text-table column selection.
- Config path: [ text.layout ]
- Allowed : [ compact|auto|wide ]
- Default : [ compact ]
kongctl adopt ai-gateway model-providers
Use the model-providers command to adopt existing model providers for a specific Konnect AI Gateway into namespace management.
Usage:
kongctl adopt ai-gateway model-providers [name|id] [flags]
Aliases:
model-providers, model-provider
Examples:
kongctl adopt ai-gateway model-providers existing-child --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway model-providers --all --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway model-providers --name-pattern 'team-*' --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway model-providers --name-pattern 'legacy-*' --gateway-name shared-gateway --namespace team-a --parent-ref shared-gateway --declarative-output adopted.yaml
Flags:
--all[=true|false] Adopt all children in this family within the selected parent
--base-url string Base URL for Konnect API requests.
- Config path: [ konnect.base-url ]
- Default : [ https://us.api.konghq.com ]
--color-theme string Configures the CLI UI/theme (prompt, tables, TUI elements).
- Config path: [ color-theme ]
- Examples : [ auto, 0_x_96_f, 12_bit_rainbow, 13_th_floor, 3024_day ]
- List : [ kongctl list themes ] (default "auto")
--config-file string Path to the configuration file to load.
- Environment variable: KONGCTL_CONFIG_FILE (overridden by this flag)
- Default: [ $XDG_CONFIG_HOME/kongctl/config.yaml ]
--declarative-output string Write selected adopted resources as declarative YAML to a new file
--dry-run[=true|false] Validate adoption and show ownership metadata changes without writing resources
--gateway-id string Parent AI Gateway UUID
--gateway-name string Exact parent AI Gateway name or display name
-h, --help[=true|false] help for model-providers
--log-file string Write execution logs to the specified file instead of STDERR.
- Config path: [ log-file ]
--log-level string Configures the logging level. Execution logs are written to STDERR.
- Config path: [ log-level ]
- Allowed : [ trace|debug|info|warn|error ] (default "error")
--model-provider-id string Exact child UUID
--model-provider-name string Exact child name (including UUID-shaped names)
--name-pattern string Adopt children with names matching a quoted glob (*, ?, [abc])
--namespace string Namespace ownership metadata to apply to the resource (required)
--no-telemetry[=true|false] Disable telemetry for this command invocation. Overrides config and env.
- Config path: [ telemetry.enabled ]
- Env var : [ KONGCTL_NO_TELEMETRY ]
- Default : [ false ]
--no-trunc[=true|false] Preserve full cell widths in static text tables beyond terminal width.
Does not change column selection, UUID formatting, or explicit string slices.
- Config path: [ text.no-trunc ]
- Default : [ false ]
-o, --output string Configures the format of data written to STDOUT.
- Config path: [ output ]
- Allowed : [ json|yaml|text ] (default "text")
--overwrite-namespace[=true|false] Overwrite existing namespace ownership metadata on the resource
--parent-ref string Existing parent ref for exported !ref links; requires --declarative-output
--pat string Konnect Personal Access Token (PAT) used to authenticate the CLI.
Setting this value overrides tokens obtained from the login command.
- Config path: [ konnect.pat ]
-p, --profile string Specify the profile to use for this command. (default "default")
--region string Konnect region identifier (for example "eu"). Used to construct the base URL when --base-url is not provided.
- Config path: [ konnect.region ]
--text-id-format string Configure UUID rendering in static text-table ID columns.
- Config path: [ text.id-format ]
- Allowed : [ compact|full ]
- Default : [ compact ]
--text-layout string Configure static text-table column selection.
- Config path: [ text.layout ]
- Allowed : [ compact|auto|wide ]
- Default : [ compact ]
kongctl adopt ai-gateway models
Use the models command to adopt existing models for a specific Konnect AI Gateway into namespace management.
Usage:
kongctl adopt ai-gateway models [name|id] [flags]
Aliases:
models, model
Examples:
kongctl adopt ai-gateway models existing-child --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway models --all --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway models --name-pattern 'team-*' --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway models --name-pattern 'legacy-*' --gateway-name shared-gateway --namespace team-a --parent-ref shared-gateway --declarative-output adopted.yaml
Flags:
--all[=true|false] Adopt all children in this family within the selected parent
--base-url string Base URL for Konnect API requests.
- Config path: [ konnect.base-url ]
- Default : [ https://us.api.konghq.com ]
--color-theme string Configures the CLI UI/theme (prompt, tables, TUI elements).
- Config path: [ color-theme ]
- Examples : [ auto, 0_x_96_f, 12_bit_rainbow, 13_th_floor, 3024_day ]
- List : [ kongctl list themes ] (default "auto")
--config-file string Path to the configuration file to load.
- Environment variable: KONGCTL_CONFIG_FILE (overridden by this flag)
- Default: [ $XDG_CONFIG_HOME/kongctl/config.yaml ]
--declarative-output string Write selected adopted resources as declarative YAML to a new file
--dry-run[=true|false] Validate adoption and show ownership metadata changes without writing resources
--gateway-id string Parent AI Gateway UUID
--gateway-name string Exact parent AI Gateway name or display name
-h, --help[=true|false] help for models
--log-file string Write execution logs to the specified file instead of STDERR.
- Config path: [ log-file ]
--log-level string Configures the logging level. Execution logs are written to STDERR.
- Config path: [ log-level ]
- Allowed : [ trace|debug|info|warn|error ] (default "error")
--model-id string Exact child UUID
--model-name string Exact child name (including UUID-shaped names)
--name-pattern string Adopt children with names matching a quoted glob (*, ?, [abc])
--namespace string Namespace ownership metadata to apply to the resource (required)
--no-telemetry[=true|false] Disable telemetry for this command invocation. Overrides config and env.
- Config path: [ telemetry.enabled ]
- Env var : [ KONGCTL_NO_TELEMETRY ]
- Default : [ false ]
--no-trunc[=true|false] Preserve full cell widths in static text tables beyond terminal width.
Does not change column selection, UUID formatting, or explicit string slices.
- Config path: [ text.no-trunc ]
- Default : [ false ]
-o, --output string Configures the format of data written to STDOUT.
- Config path: [ output ]
- Allowed : [ json|yaml|text ] (default "text")
--overwrite-namespace[=true|false] Overwrite existing namespace ownership metadata on the resource
--parent-ref string Existing parent ref for exported !ref links; requires --declarative-output
--pat string Konnect Personal Access Token (PAT) used to authenticate the CLI.
Setting this value overrides tokens obtained from the login command.
- Config path: [ konnect.pat ]
-p, --profile string Specify the profile to use for this command. (default "default")
--region string Konnect region identifier (for example "eu"). Used to construct the base URL when --base-url is not provided.
- Config path: [ konnect.region ]
--text-id-format string Configure UUID rendering in static text-table ID columns.
- Config path: [ text.id-format ]
- Allowed : [ compact|full ]
- Default : [ compact ]
--text-layout string Configure static text-table column selection.
- Config path: [ text.layout ]
- Allowed : [ compact|auto|wide ]
- Default : [ compact ]
kongctl adopt ai-gateway policies
Use the policies command to adopt existing policies for a specific Konnect AI Gateway into namespace management.
Usage:
kongctl adopt ai-gateway policies [name|id] [flags]
Aliases:
policies, policy
Examples:
kongctl adopt ai-gateway policies existing-child --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway policies --all --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway policies --name-pattern 'team-*' --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway policies --name-pattern 'legacy-*' --gateway-name shared-gateway --namespace team-a --parent-ref shared-gateway --declarative-output adopted.yaml
Flags:
--all[=true|false] Adopt all children in this family within the selected parent
--base-url string Base URL for Konnect API requests.
- Config path: [ konnect.base-url ]
- Default : [ https://us.api.konghq.com ]
--color-theme string Configures the CLI UI/theme (prompt, tables, TUI elements).
- Config path: [ color-theme ]
- Examples : [ auto, 0_x_96_f, 12_bit_rainbow, 13_th_floor, 3024_day ]
- List : [ kongctl list themes ] (default "auto")
--config-file string Path to the configuration file to load.
- Environment variable: KONGCTL_CONFIG_FILE (overridden by this flag)
- Default: [ $XDG_CONFIG_HOME/kongctl/config.yaml ]
--declarative-output string Write selected adopted resources as declarative YAML to a new file
--dry-run[=true|false] Validate adoption and show ownership metadata changes without writing resources
--gateway-id string Parent AI Gateway UUID
--gateway-name string Exact parent AI Gateway name or display name
-h, --help[=true|false] help for policies
--log-file string Write execution logs to the specified file instead of STDERR.
- Config path: [ log-file ]
--log-level string Configures the logging level. Execution logs are written to STDERR.
- Config path: [ log-level ]
- Allowed : [ trace|debug|info|warn|error ] (default "error")
--name-pattern string Adopt children with names matching a quoted glob (*, ?, [abc])
--namespace string Namespace ownership metadata to apply to the resource (required)
--no-telemetry[=true|false] Disable telemetry for this command invocation. Overrides config and env.
- Config path: [ telemetry.enabled ]
- Env var : [ KONGCTL_NO_TELEMETRY ]
- Default : [ false ]
--no-trunc[=true|false] Preserve full cell widths in static text tables beyond terminal width.
Does not change column selection, UUID formatting, or explicit string slices.
- Config path: [ text.no-trunc ]
- Default : [ false ]
-o, --output string Configures the format of data written to STDOUT.
- Config path: [ output ]
- Allowed : [ json|yaml|text ] (default "text")
--overwrite-namespace[=true|false] Overwrite existing namespace ownership metadata on the resource
--parent-ref string Existing parent ref for exported !ref links; requires --declarative-output
--pat string Konnect Personal Access Token (PAT) used to authenticate the CLI.
Setting this value overrides tokens obtained from the login command.
- Config path: [ konnect.pat ]
--policy-id string Exact child UUID
--policy-name string Exact child name (including UUID-shaped names)
-p, --profile string Specify the profile to use for this command. (default "default")
--region string Konnect region identifier (for example "eu"). Used to construct the base URL when --base-url is not provided.
- Config path: [ konnect.region ]
--text-id-format string Configure UUID rendering in static text-table ID columns.
- Config path: [ text.id-format ]
- Allowed : [ compact|full ]
- Default : [ compact ]
--text-layout string Configure static text-table column selection.
- Config path: [ text.layout ]
- Allowed : [ compact|auto|wide ]
- Default : [ compact ]
kongctl adopt ai-gateway snis
Use the snis command to adopt existing SNIs for a specific Konnect AI Gateway into namespace management.
Usage:
kongctl adopt ai-gateway snis [name|id] [flags]
Aliases:
snis, sni
Examples:
kongctl adopt ai-gateway snis existing-child --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway snis --all --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway snis --name-pattern 'team-*' --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway snis --name-pattern 'legacy-*' --gateway-name shared-gateway --namespace team-a --parent-ref shared-gateway --declarative-output adopted.yaml
Flags:
--all[=true|false] Adopt all children in this family within the selected parent
--base-url string Base URL for Konnect API requests.
- Config path: [ konnect.base-url ]
- Default : [ https://us.api.konghq.com ]
--color-theme string Configures the CLI UI/theme (prompt, tables, TUI elements).
- Config path: [ color-theme ]
- Examples : [ auto, 0_x_96_f, 12_bit_rainbow, 13_th_floor, 3024_day ]
- List : [ kongctl list themes ] (default "auto")
--config-file string Path to the configuration file to load.
- Environment variable: KONGCTL_CONFIG_FILE (overridden by this flag)
- Default: [ $XDG_CONFIG_HOME/kongctl/config.yaml ]
--declarative-output string Write selected adopted resources as declarative YAML to a new file
--dry-run[=true|false] Validate adoption and show ownership metadata changes without writing resources
--gateway-id string Parent AI Gateway UUID
--gateway-name string Exact parent AI Gateway name or display name
-h, --help[=true|false] help for snis
--log-file string Write execution logs to the specified file instead of STDERR.
- Config path: [ log-file ]
--log-level string Configures the logging level. Execution logs are written to STDERR.
- Config path: [ log-level ]
- Allowed : [ trace|debug|info|warn|error ] (default "error")
--name-pattern string Adopt children with names matching a quoted glob (*, ?, [abc])
--namespace string Namespace ownership metadata to apply to the resource (required)
--no-telemetry[=true|false] Disable telemetry for this command invocation. Overrides config and env.
- Config path: [ telemetry.enabled ]
- Env var : [ KONGCTL_NO_TELEMETRY ]
- Default : [ false ]
--no-trunc[=true|false] Preserve full cell widths in static text tables beyond terminal width.
Does not change column selection, UUID formatting, or explicit string slices.
- Config path: [ text.no-trunc ]
- Default : [ false ]
-o, --output string Configures the format of data written to STDOUT.
- Config path: [ output ]
- Allowed : [ json|yaml|text ] (default "text")
--overwrite-namespace[=true|false] Overwrite existing namespace ownership metadata on the resource
--parent-ref string Existing parent ref for exported !ref links; requires --declarative-output
--pat string Konnect Personal Access Token (PAT) used to authenticate the CLI.
Setting this value overrides tokens obtained from the login command.
- Config path: [ konnect.pat ]
-p, --profile string Specify the profile to use for this command. (default "default")
--region string Konnect region identifier (for example "eu"). Used to construct the base URL when --base-url is not provided.
- Config path: [ konnect.region ]
--sni-id string Exact child UUID
--sni-name string Exact child name (including UUID-shaped names)
--text-id-format string Configure UUID rendering in static text-table ID columns.
- Config path: [ text.id-format ]
- Allowed : [ compact|full ]
- Default : [ compact ]
--text-layout string Configure static text-table column selection.
- Config path: [ text.layout ]
- Allowed : [ compact|auto|wide ]
- Default : [ compact ]
kongctl adopt ai-gateway vaults
Use the vaults command to adopt existing vaults for a specific Konnect AI Gateway into namespace management.
Usage:
kongctl adopt ai-gateway vaults [name|id] [flags]
Aliases:
vaults, vault
Examples:
kongctl adopt ai-gateway vaults existing-child --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway vaults --all --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway vaults --name-pattern 'team-*' --gateway-name shared-gateway --namespace team-a
kongctl adopt ai-gateway vaults --name-pattern 'legacy-*' --gateway-name shared-gateway --namespace team-a --parent-ref shared-gateway --declarative-output adopted.yaml
Flags:
--all[=true|false] Adopt all children in this family within the selected parent
--base-url string Base URL for Konnect API requests.
- Config path: [ konnect.base-url ]
- Default : [ https://us.api.konghq.com ]
--color-theme string Configures the CLI UI/theme (prompt, tables, TUI elements).
- Config path: [ color-theme ]
- Examples : [ auto, 0_x_96_f, 12_bit_rainbow, 13_th_floor, 3024_day ]
- List : [ kongctl list themes ] (default "auto")
--config-file string Path to the configuration file to load.
- Environment variable: KONGCTL_CONFIG_FILE (overridden by this flag)
- Default: [ $XDG_CONFIG_HOME/kongctl/config.yaml ]
--declarative-output string Write selected adopted resources as declarative YAML to a new file
--dry-run[=true|false] Validate adoption and show ownership metadata changes without writing resources
--gateway-id string Parent AI Gateway UUID
--gateway-name string Exact parent AI Gateway name or display name
-h, --help[=true|false] help for vaults
--log-file string Write execution logs to the specified file instead of STDERR.
- Config path: [ log-file ]
--log-level string Configures the logging level. Execution logs are written to STDERR.
- Config path: [ log-level ]
- Allowed : [ trace|debug|info|warn|error ] (default "error")
--name-pattern string Adopt children with names matching a quoted glob (*, ?, [abc])
--namespace string Namespace ownership metadata to apply to the resource (required)
--no-telemetry[=true|false] Disable telemetry for this command invocation. Overrides config and env.
- Config path: [ telemetry.enabled ]
- Env var : [ KONGCTL_NO_TELEMETRY ]
- Default : [ false ]
--no-trunc[=true|false] Preserve full cell widths in static text tables beyond terminal width.
Does not change column selection, UUID formatting, or explicit string slices.
- Config path: [ text.no-trunc ]
- Default : [ false ]
-o, --output string Configures the format of data written to STDOUT.
- Config path: [ output ]
- Allowed : [ json|yaml|text ] (default "text")
--overwrite-namespace[=true|false] Overwrite existing namespace ownership metadata on the resource
--parent-ref string Existing parent ref for exported !ref links; requires --declarative-output
--pat string Konnect Personal Access Token (PAT) used to authenticate the CLI.
Setting this value overrides tokens obtained from the login command.
- Config path: [ konnect.pat ]
-p, --profile string Specify the profile to use for this command. (default "default")
--region string Konnect region identifier (for example "eu"). Used to construct the base URL when --base-url is not provided.
- Config path: [ konnect.region ]
--text-id-format string Configure UUID rendering in static text-table ID columns.
- Config path: [ text.id-format ]
- Allowed : [ compact|full ]
- Default : [ compact ]
--text-layout string Configure static text-table column selection.
- Config path: [ text.layout ]
- Allowed : [ compact|auto|wide ]
- Default : [ compact ]
--vault-id string Exact child UUID
--vault-name string Exact child name (including UUID-shaped names)