Skip to content

zeenfts/gcs-upload-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gcs-upload-script

A python script for upload Online File to Google Cloud Storage (GCS) built on Docker

Info:

  1. Need Google Cloud Platform (GCP) Account.
  2. Docker installed locally.
  3. GCloud CLI SDK Installed locally.
  4. If above prerequisites already met. Clone or Download this repository.
  5. Inside GCP you need to go to Service Account and set the credentials until you get the key (json) - you only need ONE FILE!.
  6. Copy that key inside this repository locally on your PC (be careful that this can expose it, no secret!).
  7. Then you can run the script as shown on this shell file (.sh), just provide the necessary or correct value inside < > brackets.

note that this way using Service Account was not the best! {Better to use the Application Default Credentials (ADC) -> Works seamslessly without Docker} ©2022

About

A python script for upload Online File to Google Cloud Storage (GCS) built on Docker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published