コンテンツにスキップ
Kong Logo | Kong Docs Logo
  • ドキュメント
    • API仕様を確認する
      View all API Specs すべてのAPI仕様を表示 View all API Specs arrow image
    • ドキュメンテーション
      API Specs
      Kong Gateway
      軽量、高速、柔軟なクラウドネイティブAPIゲートウェイ
      Kong Konnect
      SaaSのエンドツーエンド接続のための単一プラットフォーム
      Kong AI Gateway
      GenAI インフラストラクチャ向けマルチ LLM AI Gateway
      Kong Mesh
      Kuma と Envoy をベースにしたエンタープライズサービスメッシュ
      decK
      Kongの構成を宣言型で管理する上で役立ちます
      Kong Ingress Controller
      Kubernetesクラスタ内で動作し、Kongをプロキシトラフィックに設定する
      Kong Gateway Operator
      YAMLマニフェストを使用してKubernetes上のKongデプロイメントを管理する
      Insomnia
      コラボレーティブAPI開発プラットフォーム
  • Plugin Hub
    • Plugin Hubを探索する
      View all plugins すべてのプラグインを表示 View all plugins arrow image
    • 機能性 すべて表示 View all arrow image
      すべてのプラグインを表示
      AI's icon
      AI
      マルチ LLM AI Gatewayプラグインを使用してAIトラフィックを管理、保護、制御する
      認証's icon
      認証
      認証レイヤーでサービスを保護する
      セキュリティ's icon
      セキュリティ
      追加のセキュリティレイヤーでサービスを保護する
      トラフィック制御's icon
      トラフィック制御
      インバウンドおよびアウトバウンドAPIトラフィックの管理、スロットル、制限
      サーバーレス's icon
      サーバーレス
      他のプラグインと組み合わせてサーバーレス関数を呼び出します
      分析と監視's icon
      分析と監視
      APIとマイクロサービストラフィックを視覚化、検査、監視
      変革's icon
      変革
      Kongでリクエストとレスポンスをその場で変換
      ログ記録's icon
      ログ記録
      インフラストラクチャに最適なトランスポートを使用して、リクエストと応答データをログに記録します
  • サポート
  • コミュニティ
  • Kongアカデミー
デモを見る 無料トライアルを開始
decK
  • Home icon
  • decK
  • Gateway
  • Konnect Configuration
report-issue問題を報告する
  • Kong Gateway
  • Kong Konnect
  • Kong Mesh
  • Kong AI Gateway
  • Plugin Hub
  • decK
  • Kong Ingress Controller
  • Kong Gateway Operator
  • Insomnia
  • Kuma

  • ドキュメント投稿ガイドライン
  • Introduction
    • Overview
    • Configuration Options
    • Support Policy
    • Security Policy
  • Changelog
  • Installation
    • Overview
    • Binary
    • Docker
    • GitHub Actions
  • Get Started
  • Managing Kong Gateway
    • Overview
    • Konnect Configuration
    • Configure Authentication
    • Ping
    • Backup
    • Diff
    • Sync
    • Apply
    • Reset
    • Validate
    • RBAC
    • Workspaces
    • Tags
    • De-duplicate Plugin Configuration
    • Object Defaults
    • Sensitive Data
  • decK Files
    • Overview
    • Config Generation
      • openapi2kong
      • kong2kic
      • kong2tf
    • Linting
    • File Manipulation
      • Overview
      • Update Values
      • Plugins
      • Tags
      • Namespace
    • Combining Files
      • Merge
      • Render
    • Validate
    • Convert
  • APIOps
    • Overview
    • Continuous Integration
    • Federated Config
  • Reference
    • Entities
    • FAQ
    • Gateway 3.0 Upgrade
    • Environment Variables
enterprise-switcher-icon 次に切り替える: OSS
On this pageOn this page
  • Using decK with Konnect
    • Token authentication
    • Region selection
    • Control planes
    • Making decK work with AWS PrivateLink
  • Troubleshooting
    • Authentication with a Konnect token file is not working
    • Workspace connection refused
    • decK targets Kong Gateway instead of Konnect

このページは、まだ日本語ではご利用いただけません。翻訳中です。

Konnect Configuration

Konnect requires decK v1.40.0 or above. Versions below this will see inconsistent deck gateway diff results.

You can manage Kong Gateway core entity configuration in your Konnect organization using decK.

decK can only target one control plane at a time.

Managing multiple control planes requires a separate state file per control plane.

decK does not support publishing content to the Dev Portal or managing application registrations. Custom plugins can only be configured if the plugin schema has been uploaded to Konnect. Please note that creating or managing schemas via decK is not supported.

Using decK with Konnect

To use decK with Konnect, you must provide a Konnect authentication method and the name of a control plane to target.

# This is missing an authentication method
# See below for token/OIDC authentication examples
deck gateway ping --konnect-addr https://us.api.konghq.com --konnect-control-plane-name default

--konnect-addr is optional. If any --konnect flag is set, the Admin API URL will default to https://us.api.konghq.com.

deck gateway ping --konnect-control-plane-name default

Token authentication

If you are using personal access tokens or system access tokens, you can provide them using the --konnect-token flag:

deck gateway ping --konnect-token $KONNECT_TOKEN --konnect-addr https://us.api.konghq.com --konnect-control-plane-name default

You can provide the Konnect token in a file on disk rather than as an environment variable using the --konnect-token-file flag:

deck gateway ping --konnect-token-file /path/to/file --konnect-addr https://us.api.konghq.com --konnect-control-plane-name default

Region selection

Use --konnect-addr to select the API to connect to.

The default API decK uses is https://us.api.konghq.com.

Kong Gateway supports AU, EU, IN, ME, and US geographic regions.

To target a specific geo, set konnect-addr to one of the following:

  • AU geo: "https://au.api.konghq.com"
  • EU geo: "https://eu.api.konghq.com"
  • US geo: "https://us.api.konghq.com"
  • IN geo: "https://in.api.konghq.com"
  • ME geo: "https://me.api.konghq.com"

Control planes

Each state file targets one control plane. If you don’t provide a control plane, decK targets the default control plane.

If you have a custom control plane, you can specify it in the state file, or use a flag when running any decK command.

  • Target a control plane in your state file with the _konnect.control_plane_name parameter:

      _format_version: "3.0"
      _konnect:
        control_plane_name: staging
    
  • Set a control plane using the --konnect-control-plane-name flag:

      deck gateway sync konnect.yaml --konnect-control-plane-name staging
    

Making decK work with AWS PrivateLink

You can make Admin API calls for control plane configuration using decK with a private connection through AWS PrivateLink to stay compliant and save data transfer costs. Once you set up AWS PrivateLink [https://docs.konghq.com/konnect/private-connections/aws-privatelink/] for your environment, you can make decK calls by using the domain region.svc.konghq.com/api/.

Troubleshooting

Authentication with a Konnect token file is not working

If you have verified that your token is correct but decK can’t connect to your account, check for conflicts with the decK config file ($HOME/.deck.yaml) and the Konnect token file. A decK config file is likely conflicting with the token file and passing another set of credentials.

To resolve, remove one of the duplicate sets of credentials.

Workspace connection refused

When migrating from Kong Gateway to Konnect, make sure to remove any _workspace tags. If you leave _workspace in, you get the following error:

Error: checking if workspace exists

Remove the _workspace key to resolve this error.

You can now sync the file as-is to apply it to the default control plane or add a key to apply the configuration to a specific control plane.

To apply the configuration to custom control planes, replace _workspace with control_plane_name: ExampleName.

For example, to export the configuration from workspace staging to control plane staging, you would change:

_workspace: staging

To:

_konnect:
  control_plane_name: staging

decK targets Kong Gateway instead of Konnect

decK can run against Kong Gateway or Konnect. By default, it targets Kong Gateway, unless a setting tells decK to point to Konnect instead.

decK determines the environment using the following order of precedence:

  1. If the declarative configuration file contains the _konnect entry, decK runs against Konnect.

  2. If the --kong-addr flag is set to a non-default value, decK runs against Kong Gateway.

  3. If Konnect token is set in any way (flag, file, or decK config), decK runs against Konnect.

  4. If none of the above are present, decK runs against Kong Gateway.

Thank you for your feedback.
Was this page useful?
情報が多すぎる場合 close cta icon
Kong Konnectを使用すると、より多くの機能とより少ないインフラストラクチャを実現できます。月額1Mリクエストが無料。
無料でお試しください
  • Kong
    APIの世界を動かす

    APIマネジメント、サービスメッシュ、イングレスコントローラーの統合プラットフォームにより、開発者の生産性、セキュリティ、パフォーマンスを大幅に向上します。

    • 製品
      • Kong Konnect
      • Kong Gateway Enterprise
      • Kong Gateway
      • Kong Mesh
      • Kong Ingress Controller
      • Kong Insomnia
      • 製品アップデート
      • 始める
    • ドキュメンテーション
      • Kong Konnectドキュメント
      • Kong Gatewayドキュメント
      • Kong Meshドキュメント
      • Kong Insomniaドキュメント
      • Kong Konnect Plugin Hub
    • オープンソース
      • Kong Gateway
      • Kuma
      • Insomnia
      • Kongコミュニティ
    • 会社概要
      • Kongについて
      • お客様
      • キャリア
      • プレス
      • イベント
      • お問い合わせ
  • 利用規約• プライバシー• 信頼とコンプライアンス
© Kong Inc. 2025