Infra 349: 새로운 GCP 계정으로 이전 #350
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
이슈 번호 (#349)
요약
변경사항
GCP ADC 사용 및 관리 포인트 제거
이전에는 애플리케이션 서버에 GCP Credential 파일을 포함해줘야 했음
ADC(Application Default Credentials)를 사용하면 그럴 필요 없음, GCP Project 내부에 있는 리소스(VM, Storage 등)는 자동으로 ADC를 Inject 받기 때문
Credential을 노출하지 않기 때문에 GCP 플랫폼을 사용할 때는 해당 방식을 사용하는 것이 보안적으로 좋아보임 (Credential JSON 파일을 지양하라는 레퍼런스)
로컬에서 Storage에 대한 권한이 필요한 경우에는
gcloud명령을 사용해 로그인해주면 됨