우노
[GCP] generic::permission_denied: user does not have impersonation permission on the trigger service account specified: 에러 해결 방법 본문
GCP/Authentication
[GCP] generic::permission_denied: user does not have impersonation permission on the trigger service account specified: 에러 해결 방법
운호(Noah) 2023. 9. 21. 11:18에러 코드
generic::permission_denied: user does not have impersonation permission on the trigger service account specified:
문제 상황
- 특정 사용자가 Cloud Build에 할당되어 있는 Service Account를 대신해 수동 실행할 수 있는 권한이 없어서 에러가 발생하는 상황입니다.
해결 방법
- 사용자 계정에 아래 역할을 할당하면 됩니다.
- “roles/iam.serviceAccountUser”
- 해당 역할은 “iam.serviceAccounts.actAs” 권한을 포함하고 있으며,
- “iam.serviceAccounts.actAs” 권한은 사용자가 다른 사용자 계정처럼 다른 역할을 수행할 수 있도록 허용하는 권한입니다.
- “roles/iam.serviceAccountUser”
'GCP > Authentication' 카테고리의 다른 글
[GCP] “gcloud auth login"과 “gcloud auth application-default login"의 차이 (0) | 2023.09.21 |
---|---|
[GCP] ADC(Application Default Credentials)란? (0) | 2023.08.02 |
Comments