blob: 9785c346624e49fb673c7dba3f71c652e3db3720 [file] [log] [blame]
Jon Wayne Parrottaadb3de2016-10-19 09:34:05 -07001# Copyright 2016 Google Inc.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15"""Environment variables used by :mod:`google.auth`."""
16
17
18PROJECT = 'GOOGLE_CLOUD_PROJECT'
19"""Environment variable defining default project.
20
21This used by :func:`google.auth.default` to explicitly set a project ID. This
22environment variable is also used by the Google Cloud Python Library.
23"""
24
25CREDENTIALS = 'GOOGLE_APPLICATION_CREDENTIALS'
26"""Environment variable defining the location of Google application default
27credentials."""
28
29# The environment variable name which can replace ~/.config if set.
30CLOUD_SDK_CONFIG_DIR = 'CLOUDSDK_CONFIG'
31"""Environment variable defines the location of Google Cloud SDK's config
32files."""