사용자 외부 자격 증명
Teleport가 사용자 소유의 외부 자격 증명을 안전하게 저장하는 방법을 설명합니다.
이 페이지는 연결된 계정에 대해 사용자가 소유한 자격 증명을 Teleport가 안전하게 저장하는 방법을 설명합니다. 예를 들어 HTTPS를 통한 GitHub 접근에 사용하는 사용자의 GitHub 액세스 토큰이 이에 해당합니다. 자격 증명 암호화 # 각 자격 증명은 백엔드 스토리지에 기록되기 전에 두 번 암호화됩니다: Mermaid 다이어그램 (6줄) 소스 코드 보기 flowchart TB subgraph outer["User-encrypted layer"] subgraph inner["Auth Service-encrypted layer"] payload["Payload: credential + binding data"] end end 안쪽 계층은 Teleport Auth Service가 관리하는 키로 암호화됩니다. 이 계층은 Auth Service만 제거할 수 있습니다. 이 키는 teleport.yaml 구성 파일의 auth_service.user_external_credentials.encryption_mode 로 설정합니다: 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: "" 바깥쪽 계층은 세션마다 고유한 키로 암호화됩니다. 이 키는 사용자 머신의 tsh 또는 Beam의 tbot 처럼 세션의 클라이언트가 생성하여 보관하므로, 해당 세션만 이 계층을 제거할 수 있습니다. 자격 증명 수명 주기와 공유 # 자격 증명의 수명은 사용자 암호화 키의 수명에 묶여 있습니다. 현재 이 키의 범위는 단일 사용자 세션이며 세션 인증서와 함께 만료됩니다. 앞으로 Teleport가 사용자 외부 자격 증명을 관리하는 정책을 더 도입하면 이 동작은 바뀔 수 있습니다. GitHub 접근 승인처럼 계정을 연결하는 과정이 자격 증명을 처음 생성합니다. 사용자 암호화 키를 가진 쪽은 같은 사용자 또는 그 위임 대상이 소유한 다른 세션과 자격 증명을 공유할 수 있습니다. Beam에서는 Beam이 시작될 때와 사용자가 나중에 계정을 연결할 때 모두 이 공유가 자동으로 이루어집니다.