Skip to content
This repository has been archived by the owner on Feb 15, 2019. It is now read-only.

Latest commit

 

History

History
31 lines (22 loc) · 1.09 KB

set-up-service-credentials.md

File metadata and controls

31 lines (22 loc) · 1.09 KB

Set up service credentials

This gives the microservices access to use the Google Cloud APIs.

  • Visit [Service Accounts] on Cloud Console(https://console.cloud.google.com/iam-admin/serviceaccounts)
  • Click "Create Service Account"
  • Give it a name, and choose roles:
    • Datastore User
    • Storage Admin
  • Click "Furnish new private key" with type=JSON.
  • Click "Create" and save the private key file.

You will use this file in "Set up a Kubernetes cluster" section later.

Create an OAuth2 client

This is used for users with Google accounts to authenticate to the app.

  • Visit API Manager on Cloud Console.
  • Click "Credentials" → "Create credentials" → choose "OAuth client ID"
  • Choose "Web application" on the next screen.
  • Give it a name, and specify the callback URI as http://localhost/oauth2callback. You will change it once you have a domain name.

You will use this file in "Set up a Kubernetes cluster" section later.