Service Account Private Key
- Last Updated: August 22, 2023
- 1 minute read
- DataDirect Connectors
- ODBC
- Google Bigquery 8.0
- Documentation
Attribute
ServiceAccountPrivateKey (SAPK)
Purpose
Specifies the full path to the .json or
.p12 private key file that contains the
key required to authenticate to a Google BigQuery instance when service account
authentication is enabled (AuthenticationMethod=serviceaccount). You can dowload the private key
file from Google Cloud Platform (GCP) Console.
To learn more about service accounts and service account private keys, refer to Google documentation.
Valid Values
string
where:
- string
- is the full path to the .json or .p12 private key file.
Notes
-
Either Service Account Key Content or Service Account Private Key may be used to configure service account authentication. Service Account Key Content specifies the private key itself, whereas Service Account Private Key specifies the full path to the .json or .p12 file that contains the private key. When Service Account Key Content is used, the specified private key is used to authenticate the user with the database. When Service Account Private Key is used, the driver extracts the private key value from the specified file and uses it to authenticate the user to the database. If you do not want to persist the private key file in your environment, you should use the Service Account Key Content option. If Service Account Key Content and Service Account Private Key are both specified, the Service Account Key Content option will be used to connect to Google BigQuery.
Default
None