1+
2+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4+
5+
6+ < html xmlns ="http://www.w3.org/1999/xhtml ">
7+ < head >
8+ < meta http-equiv ="Content-Type " content ="text/html; charset=utf-8 " />
9+
10+ < title > <no title> — gcloud 0.1 documentation</ title >
11+
12+ < link rel ="stylesheet " href ="../_static/style.css " type ="text/css " />
13+ < link rel ="stylesheet " href ="../_static/pygments.css " type ="text/css " />
14+ < link rel ="stylesheet " href ="../_static/custom.css " type ="text/css " />
15+
16+ < script type ="text/javascript ">
17+ var DOCUMENTATION_OPTIONS = {
18+ URL_ROOT : '../' ,
19+ VERSION : '0.1' ,
20+ COLLAPSE_INDEX : false ,
21+ FILE_SUFFIX : '.html' ,
22+ HAS_SOURCE : true
23+ } ;
24+ </ script >
25+ < script type ="text/javascript " src ="../_static/jquery.js "> </ script >
26+ < script type ="text/javascript " src ="../_static/underscore.js "> </ script >
27+ < script type ="text/javascript " src ="../_static/doctools.js "> </ script >
28+ < script type ="text/javascript " src ="../_static/sidebar.js "> </ script >
29+ < link rel ="top " title ="gcloud 0.1 documentation " href ="../index.html " />
30+ </ head >
31+ < body role ="document " class ="two-column docs "> < a href ="https://github.com/GoogleCloudPlatform/gcloud-python "> < img style ="position: absolute; top: 0; right: 0; border: 0; z-index: 999; " src ="_static/forkme.png " alt ="Fork me on GitHub "> </ a >
32+ < div id ="sandbar ">
33+ < header id ="gc-googlebar ">
34+ < a id ="gc-logo " href ="../index.html ">
35+ < img src ="_static/cloudplatform-horizontal.png " alt ="Google ">
36+ </ a >
37+ < form class ="gc-search " action ="search.html " method ="GET ">
38+ < div class ="searchbox " style ="width: 429px; ">
39+ < span class ="button button-blue mini "> Google Cloud Python API</ span >
40+ < input type ="hidden " name ="check_keywords " value ="yes ">
41+ < input type ="hidden " name ="area " value ="default ">
42+ < input type ="text " name ="q " class ="q " id ="q " value =""
43+ placeholder ="Search " autocomplete ="off " style ="width: 263px; ">
44+ </ div >
45+ < button class ="button button-blue " style ="top: 0px; left: 444px; ">
46+ < img src ="_static/search.png " alt ="Search ">
47+ </ button >
48+
49+ < input type ="hidden " name ="p " id ="search_project " value ="/compute ">
50+
51+ </ form >
52+ </ header >
53+ </ div >
54+
55+ < div id ="gc-wrapper ">
56+ < div id ="gc-appbar ">
57+ < h1 > < a href ="../index.html "> gcloud 0.1 documentation</ a > </ h1 >
58+ </ div >
59+ < div id ="gc-main " class ="main ">
60+ < div id ="gc-sidebar " class ="sphinxsidebar " role ="navigation " aria-label ="main navigation ">
61+ < div class ="sphinxsidebarwrapper ">
62+
63+ < h3 > All API Docs</ h3 >
64+ < nav class ="gc-toc ">
65+ < ul >
66+ < li class ="toctree-l1 "> < a class ="reference internal " href ="../datastore-api.html "> Cloud Datastore</ a > </ li >
67+ < li class ="toctree-l1 "> < a class ="reference internal " href ="../storage-api.html "> Cloud Storage</ a > </ li >
68+ < li class ="toctree-l1 "> < a class ="reference internal " href ="../common-api.html "> Cloud Common</ a > </ li >
69+ </ ul >
70+
71+ </ nav >
72+
73+
74+ </ div >
75+ </ div >
76+
77+ < div class ="document ">
78+ < div class ="documentwrapper ">
79+ < div class ="bodywrapper ">
80+ < div class ="body " role ="main " id ="gc-content ">
81+
82+ < p > Now that you have a project,
83+ we need to make sure we are able to access our data.
84+ There are many ways to authenticate,
85+ but we’re going to use a Service Account for today.</ p >
86+ < p > A < em > Service Account</ em > is sort of like a username and password
87+ (like when you’re connecting to your MySQL database),
88+ except the username is automatically generated
89+ (and is an e-mail address)
90+ and the password is actually a private key file.</ p >
91+ < p > To create a Service Account:</ p >
92+ < ul >
93+ < li > < p class ="first "> < strong > Click on Credentials</ strong >
94+ under the “APIs & Auth” section.</ p >
95+ </ li >
96+ < li > < p class ="first "> < strong > Click the big red button</ strong >
97+ that says “Create New Client ID”
98+ under the OAuth section
99+ (the first one).</ p >
100+ </ li >
101+ < li > < p class ="first "> < strong > Choose “Service Account”</ strong >
102+ and click the blue button
103+ that says “Create Client ID”.</ p >
104+ </ li >
105+ < li > < p class ="first "> < strong > This will automatically</ strong >
106+ download a private key file.
107+ < strong > Do not lose this.</ strong > </ p >
108+ </ li >
109+ < li > < p class ="first "> < strong > Rename your key</ strong > something shorter.
110+ I like to name the key < tt class ="docutils literal "> < span class ="pre "> <project</ span > < span class ="pre "> name>.p12</ span > </ tt > .</ p >
111+ < p > This is like your password for the account.</ p >
112+ </ li >
113+ < li > < p class ="first "> < strong > Copy the long weird e-mail address</ strong >
114+ labeled “E-mail address”
115+ in the information section
116+ for the Service Account
117+ you just created.</ p >
118+ < p > This is like your username for the account.</ p >
119+ </ li >
120+ </ ul >
121+
122+
123+ </ div >
124+ </ div >
125+ </ div >
126+ < div class ="clearer "> </ div >
127+ </ div >
128+ </ div >
129+ </ div >
130+ < footer id ="gc-footer " class ="footer " role ="contentinfo ">
131+ < div id ="gc-copyright ">
132+ © Copyright 2014, JJ Geewax.
133+ Created using < a href ="http://sphinx-doc.org/ "> Sphinx</ a > 1.2.1.
134+ </ div >
135+ </ footer >
136+ </ body >
137+ </ html >
0 commit comments