This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.12.5. 서비스 계정 인증 활성화
서비스 계정은 개인 RSA 키로 서명된 토큰을 사용하여 API에 인증합니다. 인증 계층은 일치하는 공개 RSA 키를 사용하여 서명을 확인합니다.
서비스 계정 토큰 생성을 활성화하려면 마스터의 /etc/origin/master/master-config.yml 파일의 serviceAccountConfig
스탠자를 업데이트하여 privateKeyFile
( 서명용) 및 publicKeyFile
목록에 일치하는 공개 키 파일을 지정합니다.
serviceAccountConfig: ... masterCA: ca.crt privateKeyFile: serviceaccount.private.key publicKeyFiles: - serviceaccount.public.key - ...
serviceAccountConfig:
...
masterCA: ca.crt
privateKeyFile: serviceaccount.private.key
publicKeyFiles:
- serviceaccount.public.key
- ...