본문 바로가기

IT이야기

[정보] 구글클라우드 환경 설정

반응형

  오늘은 IT관련 이야기입니다. 구글 클라우드 관련 로컬에서 사용시  SDK 인증 에러가 발생 하여 다시 환경설정을 해야 합니다.

raise exceptions.DefaultCredentialsError(_CLOUD_SDK_MISSING_CREDENTIALS)
google.auth.exceptions.DefaultCredentialsError: Your default credentials were not found. To set up Application Default Credentials, see https://cloud.google.com/docs/authentication/external/set-up-adc for more information.

 

gcloud init 명령어가 동작 하지 않기 때문에 gloud cli 부터 우분투 기반으로 다시 설치는 아래 링크를 참고 하세요.

https://cloud.google.com/sdk/docs/install?hl=ko#deb

 

gcloud CLI 설치  |  Google Cloud CLI Documentation

이 페이지는 Cloud Translation API를 통해 번역되었습니다. 의견 보내기 gcloud CLI 설치 컬렉션을 사용해 정리하기 내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요. 이 페이지에는 Google Cloud CLI

cloud.google.com

 

gcloud  설치 완료 후  우분투에 개발환경 설정은 아래 링크를 따라 하면 됩니다.

https://cloud.google.com/docs/authentication/set-up-adc-local-dev-environment?hl=ko

 

로컬 개발 환경용 ADC 설정  |  Authentication  |  Google Cloud

Cloud Client Libraries, Google API Client Libraries, 기타 환경에 대해 애플리케이션 기본 사용자 인증 정보를 설정하는 방법을 알아봅니다.

cloud.google.com

 

반응형