66
77 < head >
88 < meta charset =utf-8 >
9-
9+
1010 < title >
1111 gcloud Create Service Account
1212 </ title >
1313
1414 < meta name =description content ='Learn how to create a Google Cloud service account using the gcloud CLI and REST API. This step-by-step guide covers setting roles, generating keys, and securing access for automated deployments. '>
1515 < link rel =icon type ='image/png ' href ='/blog/image/blog-30.png '>
1616 < meta name =viewport content ='width=device-width, initial-scale=1 '>
17-
17+
1818 < base href ='https://javascript-2020.github.io/blog/25-07-29/gcloud-create-service-account/ '>
1919 < link rel =canonical href ='https://ext-code.com/blog/25-07-29/gcloud-create-service-account/gcloud-create-service-account.html '>
2020
3232 "mainEntityOfPage" : { "@type" :"WebPage" , "@id" :"https://ext-code.com/blog/25-07-29/gcloud-create-service-account/gcloud-create-service-account.html" } ,
3333 "publisher" : { "@type" :"Organization" , "name" :"ext-code.com" , "logo" :{ "@type" :"ImageObject" , "url" :"https://ext-code.com/favicon.ico" } } ,
3434 }
35-
35+
3636 </ script >
37-
38-
39- < script src ='https://libs.ext-code.com/js/dom/component/component.js '> </ script >
40- < script src ='https://libs.ext-code.com/js/dom/init-hdr/init-hdr.js '> </ script >
37+
38+
39+ < script src ='https://libs.ext-code.com/js/dom/component/v3.0/component.js?hdr '> </ script >
4140
4241
4342 < link rel =stylesheet href ='/blog/css/blog.css '>
44-
43+
4544 < style >
4645
4746 html
5655 [component ]
5756 {display : none}
5857
59- .description
58+ .description
6059 {max-width : 1000px ;text-align : justify;border-left : 4px solid # 4a90e2 ;padding : 1rem ;
6160 background-color : # f9f9f9 ;font-family : system-ui, sans-serif;font-size : 1rem ;line-height : 1.6 ;color : # 333 }
6261 .description > p
6362 {margin : 0 }
6463 .description > p + p
6564 {margin : 10px 0 }
66-
65+
6766 code
6867 {font-family : monospace;background : whitesmoke}
6968 code .inline
7069 {display : inline;padding : 5px 10px }
71-
70+
7271 a
7372 {color : # 4a90e2 ;text-decoration : none;font-weight : 500 }
74- a : hover
73+ a : hover
7574 {text-decoration : underline}
7675 .link-domain
7776 {font-size : 0.85rem ;color : # 777 ;margin-left : 0.25rem }
78- .link-domain ::before
77+ .link-domain ::before
7978 {content : '[' }
8079 .link-domain ::after
8180 {content : ']' }
8281 .link-txt
8382 {}
84-
83+
8584 input
8685 {font-size : 16px ;padding : 5px 7px ;box-sizing : border-box;}
8786 input [type = button ]
8887 {cursor : pointer}
89-
90-
91-
88+
89+
90+
9291 pre
9392 {background : whitesmoke;border : 1px solid gray;padding : 10px ;font-size : 16px }
94-
95-
93+
94+
9695 </ style >
9796
9897 </ head >
9998
10099
101100 < body >
102-
101+
103102 < blog-hdr component =grp1 >
104103 < h1 class =title >
105104 gcloud Create Service Account
@@ -108,25 +107,25 @@ <h1 class=title>
108107 22 Oct 2025
109108 </ time >
110109 </ blog-hdr >
111-
112-
110+
111+
113112 < div class =description >
114113 < p >
115114 Learn how to create a Google Cloud service account using the gcloud CLI and REST API. This step-by-step guide covers setting roles,
116115 generating keys, and securing access for automated deployments.
117116 </ p >
118117 </ div >
119-
118+
120119
121120 < pre >
122-
123- goto
121+
122+ goto
124123 < a href ='https://console.cloud.google.com/iam-admin/serviceaccounts/create '>
125124 https://console.cloud.google.com/iam-admin/serviceaccounts/create
126125 </ a >
127126
128127 </ pre >
129-
128+
130129
131130 < pre >
132131
@@ -135,11 +134,11 @@ <h1 class=title>
135134click create account
136135
137136 </ pre >
138-
137+
139138
140139 < pre >
141140
142- assign roles,
141+ assign roles,
143142
144143 owner or editor has the most priviledges
145144
@@ -149,12 +148,12 @@ <h1 class=title>
149148
150149
151150 < pre >
152-
151+
153152in the list of service accounts, click the newly created one
154153
155154goto to the keys tab
156155
157- click
156+ click
158157
159158add key -> create new key
160159
0 commit comments