[MCOL-5271] Google cloud data load Created: 2022-10-19  Updated: 2022-11-08  Resolved: 2022-11-08

Status: Closed
Project: MariaDB ColumnStore
Component/s: ?
Affects Version/s: None
Fix Version/s: Icebox

Type: Task Priority: Major
Reporter: Leonid Fedorov Assignee: Leonid Fedorov
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
PartOf
is part of MCOL-5013 Support Load data from AWS S3 : UDF... Closed

 Description   

The only problem with google cloud, are credentials.
We cannot match google credentials with AWS Key|Secret, they have much more
example of config file

cat ~/.xbench/mariadb-clustrix-xbench.json
{
  "type": "service_account",
  "project_id": "mariadb-clustrix",
  "private_key_id": "XXXXXXX",
  "private_key": "-----BEGIN PRIVATE KEY-----\nXXXX-----END PRIVATE KEY-----\n",
  "client_email": "xbench@mariadb-clustrix.iam.gserviceaccount.com",
  "client_id": "111124267925349327701",
  "auth_uri": "https://accounts.google.com/o/oauth2/auth",
  "token_uri": "https://oauth2.googleapis.com/token",
  "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
  "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/xbench%40mariadb-clustrix.iam.gserviceaccount.com"
}

documentation
https://cloud.google.com/iam/docs/service-accounts

so we need just UX decision, is it convenient to make all this json fields session variables for google cloud, or we want to have one, containing full json config, or any other ideas


Generated at Thu Feb 08 02:56:38 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.