title: Calling Google Admin SDK from Google Cloud Functions
body: <p>I am attempting to use the <a href="https://developers.google.com/admin-sdk/directory/v1/quickstart/python" rel="nofollow noreferrer">Google Admin SDK</a> to read user data within cloud functions. I am developing this on a local machine then running a Google Build that deploys the cloud function. How can I initialize the Admin SDK in python using a key (or a set of keys)? Ideally, I'd like to keep the secret key locally under .env (not in source control), then use IAM's Cryptographic Keychain to generate an encrypted key that can be kept in source control. However, I do not see how I can initialize the Python Admin SDK with just a series of keys. How is this achievable?</p>