오늘은 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
'IT이야기' 카테고리의 다른 글
[펌글] AWS EKS 구축 하기 (0) | 2025.04.04 |
---|---|
[정보] 우분투 22.04에 XRDP 설치 및 접속 (0) | 2025.02.12 |
[정보] 크롤링 Chrome Driver 버전 오류 해결 (0) | 2025.02.11 |
[정보] 웹캠 카메라 테스트 (0) | 2025.02.08 |
[Python] AttributeError: module 'cv2.dnn' has no attribute 'DictValue' (0) | 2025.02.04 |