GOOGLE_APPLICATION_CREDENTIALS : The Application Default Credentials are not available

GOOGLE_APPLICATION_CREDENTIALS : The Application Default Credentials are not available

사용자 변수 편집

해당 오류를 해결하기 위해, 환경변수 > 사용자 환경 변수 > GOOGLE_APPLICATION_CREDENTIALS에 service account key를 등록해 주세요. 다음과 같은 예외가 발생하였을 때 처리할 수 있습니다.

처리되지 않은 'System.InvalidOperationException' 형식의 예외가 mscorlib.dll에서 발생했습니다.
추가 정보:

The Application Default Credentials are not available.

They are available if running in Google Compute Engine.

Otherwise, the environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing to a file defining the credentials.

See https://developers.google.com/accounts/docs/application-default-credentials for more information.

댓글