Skip to content

Commit

Permalink
Update README.md with intructions on setting environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Shun Fan committed Jul 22, 2015
1 parent 89a1bd1 commit ecbae42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion storage/storage_transfer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ This app creates two types of transfers using the Transfer Service tool.
1. Set up a project on Google Developers Console.
1. Go to the [Developers Console](https://cloud.google.com/console) and create or select your project.
You will need the project ID later.
1. Within Developers Console, select APIs & auth > Credentials.
1. Add a new JSON key credential for a service account.
1. Set the environment variable GOOGLE_APPLICATION_CREDENTIALS to point to your JSON key.
1. Add the Storage Transfer service account, cloud-mobility@system.gserviceaccount.com as an
editor of your project.
1. Set up gcloud for application default credentials.
1. `gcloud components update`
1. `gcloud auth login`
1. `gcloud config set project PROJECT_ID`
1. `export GOOGLE_APPLICATION_CREDENTIALS=PATH/TO/CREDENTIALS.json`
1. Install [Google API Client Library for Python](https://developers.google.com/api-client-library/python/start/installation).

## Transfer from Amazon S3 to Google Cloud Storage
Expand Down

0 comments on commit ecbae42

Please sign in to comment.