InfoGrab DocsInfoGrab Docs

Git 플랫폼 레퍼런스

요약

이 페이지는 Teleport로 보호되는 Git 플랫폼의 구성 옵션, 리소스 형태, 감사 이벤트를 나열합니다. 영구적인 수정을 가하기 전에 프로덕션 인스턴스, 환경 및/또는 설정을 백업하는 것을 모범 사례로 권장합니다.

이 페이지는 Teleport로 보호되는 Git 플랫폼의 구성 옵션, 리소스 형태, 감사 이벤트를 나열합니다.

구성#

Warning

영구적인 수정을 가하기 전에 프로덕션 인스턴스, 환경 및/또는 설정을 백업하는 것을 모범 사례로 권장합니다. 이렇게 하면 필요한 경우 기존 상태로 롤백할 수 있습니다.

HTTPS를 통한 Git은 각 사용자의 GitHub 자격 증명을 Auth 계층 키로 암호화하여 저장하며, 이 키는 teleport.yaml의 auth_service 섹션에서 구성합니다.

auth_service:
  user_external_credentials:
    # encryption_mode configures how the Auth encryption key of user external
    # credentials is managed. "" (default) uses the same keystore as the keys
    # defined in "ca_key_params". "software" uses a software key stored in
    # the backend instead, for Auth servers that do not share an HSM or KMS.
    encryption_mode: ""

이 암호화가 작동하는 방식에 대한 자세한 내용은 사용자 외부 자격 증명을 참조하세요.

integration 리소스#

GitHub 통합은 사용자를 대신하여 작업하는 데 사용하는 OAuth 또는 GitHub App 자격 증명을 저장합니다. 연결된 GitHub 조직마다 하나의 통합 리소스가 있습니다.

kind: integration
sub_kind: github
version: v1
metadata:
  name: github-doc-example-org
spec:
  github:
    # The GitHub organization name.
    organization: doc-example-org
    # The full callback URL for the GitHub OAuth flow, including the proxy's
    # public address and web port.
    oauth_callback_url: https://teleport.example.com:443/web/github/integration/callback
    # Which protocols the organization allows via Teleport: "ssh", "https", or both
    allow_protocols: ["https"]

  # Only settable when creating or updating the resource (e.g. tctl create/edit)
  credentials:
    # The client ID and secret of the OAuth app (SSH-only integrations) or
    # GitHub App (HTTPS integrations).
    id_secret:
      id: oauth-app-or-github-app-client-id
      secret: oauth-app-or-github-app-client-secret

oauth-app-or-github-app-client-id와 oauth-app-or-github-app-client-secret를 GitHub OAuth 앱(SSH 전용 통합) 또는 GitHub App(HTTPS 통합)의 클라이언트 ID와 시크릿으로 설정합니다. teleport.example.com:443은 Teleport Proxy Service의 호스트와 웹 포트로 바꿉니다.

git_server 리소스#

git_server 리소스는 integration을 통해 사용자에게 GitHub 조직에 대한 접근 권한을 부여합니다. git_server의 allow_protocols는 통합의 값과 일치해야 합니다.

kind: git_server
sub_kind: github
version: v2
metadata:
  name: github-doc-example-org
spec:
  github:
    # Name of the integration resource this git_server references.
    integration: github-doc-example-org
    # The GitHub organization name. Must match integration's organization.
    organization: doc-example-org
    # Must match the integration's allow_protocols.
    allow_protocols: ["https"]

감사 이벤트#

Teleport가 Git 플랫폼에 대해 기록하는 이벤트는 Git 감사 이벤트 레퍼런스를 참조하세요.

Git 플랫폼 레퍼런스

Teleport v19.0
원문 보기

요약

이 페이지는 Teleport로 보호되는 Git 플랫폼의 구성 옵션, 리소스 형태, 감사 이벤트를 나열합니다. 영구적인 수정을 가하기 전에 프로덕션 인스턴스, 환경 및/또는 설정을 백업하는 것을 모범 사례로 권장합니다.

이 페이지는 Teleport로 보호되는 Git 플랫폼의 구성 옵션, 리소스 형태, 감사 이벤트를 나열합니다.

구성#

Warning

영구적인 수정을 가하기 전에 프로덕션 인스턴스, 환경 및/또는 설정을 백업하는 것을 모범 사례로 권장합니다. 이렇게 하면 필요한 경우 기존 상태로 롤백할 수 있습니다.

HTTPS를 통한 Git은 각 사용자의 GitHub 자격 증명을 Auth 계층 키로 암호화하여 저장하며, 이 키는 teleport.yaml의 auth_service 섹션에서 구성합니다.

auth_service:
  user_external_credentials:
    # encryption_mode configures how the Auth encryption key of user external
    # credentials is managed. "" (default) uses the same keystore as the keys
    # defined in "ca_key_params". "software" uses a software key stored in
    # the backend instead, for Auth servers that do not share an HSM or KMS.
    encryption_mode: ""

이 암호화가 작동하는 방식에 대한 자세한 내용은 사용자 외부 자격 증명을 참조하세요.

integration 리소스#

GitHub 통합은 사용자를 대신하여 작업하는 데 사용하는 OAuth 또는 GitHub App 자격 증명을 저장합니다. 연결된 GitHub 조직마다 하나의 통합 리소스가 있습니다.

kind: integration
sub_kind: github
version: v1
metadata:
  name: github-doc-example-org
spec:
  github:
    # The GitHub organization name.
    organization: doc-example-org
    # The full callback URL for the GitHub OAuth flow, including the proxy's
    # public address and web port.
    oauth_callback_url: https://teleport.example.com:443/web/github/integration/callback
    # Which protocols the organization allows via Teleport: "ssh", "https", or both
    allow_protocols: ["https"]

  # Only settable when creating or updating the resource (e.g. tctl create/edit)
  credentials:
    # The client ID and secret of the OAuth app (SSH-only integrations) or
    # GitHub App (HTTPS integrations).
    id_secret:
      id: oauth-app-or-github-app-client-id
      secret: oauth-app-or-github-app-client-secret

oauth-app-or-github-app-client-id와 oauth-app-or-github-app-client-secret를 GitHub OAuth 앱(SSH 전용 통합) 또는 GitHub App(HTTPS 통합)의 클라이언트 ID와 시크릿으로 설정합니다. teleport.example.com:443은 Teleport Proxy Service의 호스트와 웹 포트로 바꿉니다.

git_server 리소스#

git_server 리소스는 integration을 통해 사용자에게 GitHub 조직에 대한 접근 권한을 부여합니다. git_server의 allow_protocols는 통합의 값과 일치해야 합니다.

kind: git_server
sub_kind: github
version: v2
metadata:
  name: github-doc-example-org
spec:
  github:
    # Name of the integration resource this git_server references.
    integration: github-doc-example-org
    # The GitHub organization name. Must match integration's organization.
    organization: doc-example-org
    # Must match the integration's allow_protocols.
    allow_protocols: ["https"]

감사 이벤트#

Teleport가 Git 플랫폼에 대해 기록하는 이벤트는 Git 감사 이벤트 레퍼런스를 참조하세요.