Skip to main content

Google Cloud Serverless Authentication Service Account

Summary

Google Cloud Serverless Authentication Service Account allows you to manually specify the service account credentials to support GCP's Authorization Header format.

If unspecified, the service account credentials will default to ambient credentials in the default locations searched by the Google SDK. This includes GCE metadata server tokens.

How to configure

Config file keysEnvironment variablesTypeUsage
google_cloud_serverless_authentication_service_accountGOOGLE_CLOUD_SERVERLESS_AUTHENTICATION_SERVICE_ACCOUNTstring (base64 encoded)optional

See Enable Google Cloud Serverless Authentication for more information.

Examples

# config file key
google_cloud_serverless_authentication_service_account: base64-encoded-service-account-credentials

# environment variable
GOOGLE_CLOUD_SERVERLESS_AUTHENTICATION_SERVICE_ACCOUNT=base64-encoded-service-account-credentials