본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

kongctl 로그인

원문 보기 위키 갱신

kongctl 로그인 (kongctl login)

이 문서는 kongctl CLI에서 Konnect에 로그인할 때 사용하는 login 명령어를 소개해요. 명령어 기본 사용법과 예시, 인증 경로나 로그 레벨 같은 주요 플래그 옵션을 함께 확인할 수 있어요. Konnect를 본격적으로 사용하려면 먼저 이 명령어로 로그인 인증을 마쳐야 해요

출처: 문서

본문

kongctl login konnect

설명: Konnect에 로그인해요.

명령어 사용법

Usage:
  kongctl login [flags]
  kongctl login [command]

Examples:
  # Login to Kong Konnect (default)
  kongctl login
  
  # Login to Kong Konnect (explicit)
  kongctl login konnect

Available Commands:
  konnect     Login to Konnect


Flags:
      --auth-path string        URL path used to initiate Konnect Authorization.
                                - Config path: [ konnect.auth-path ]
                                - (default "/v3/internal/oauth/device/authorize")
      --base-auth-url string    Base URL used for Konnect Authorization requests.
                                - Config path: [ konnect.base-auth-url ]
                                - (default "https://global.api.konghq.com")
      --color-theme string      Configures the CLI UI/theme (prompt, tables, TUI elements).
                                - Config path: [ color-theme ]
                                - Examples   : [ auto, 3024_day, 3024_night, aardvark_blue, abernathy ]
                                - Reference  : [ https://github.com/lrstanley/bubbletint/blob/master/DEFAULT_TINTS.md ] (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 ]
  -h, --help                    help for login
      --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")
      --no-animate              Print a static login banner instead of animating when the terminal supports animation.
      --no-image                Show only login text without animation or static image output.
      --no-telemetry            Disable telemetry for this command invocation. Overrides config and env.
                                - Config path: [ telemetry.enabled ]
                                - Env var    : [ KONGCTL_NO_TELEMETRY ]
                                - Default    : [ false ]
      --no-trunc                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")
  -p, --profile string          Specify the profile to use for this command. (default "default")
      --refresh-path string     URL path used to refresh the Konnect auth token.
                                - Config path: [ konnect.refresh-path ]
                                - (default "/kauth/api/v1/refresh")
      --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 ]
      --token-path string       URL path used to poll for the Konnect Authorization response token.
                                - Config path: [ konnect.token-path ]
                                - (default "/v3/internal/oauth/device/token")

Use "kongctl login [command] --help" for more information about a command.

관련 리소스

더 알아보기 (Learn more)