A python script for upload Online File to Google Cloud Storage (GCS) built on Docker
Info:
- Need Google Cloud Platform (GCP) Account.
- Docker installed locally.
- GCloud CLI SDK Installed locally.
- If above prerequisites already met.
Clone or Download this repository
. - Inside GCP you need to go to Service Account and set the credentials until you get the key (json) - you only need ONE FILE!.
- Copy that key inside this repository locally on your PC (be careful that this can expose it, no secret!).
- 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