{"id":185829,"date":"2021-06-12T16:17:20","date_gmt":"2021-06-12T23:17:20","guid":{"rendered":"https:\/\/m2msupport.net\/m2msupport\/?page_id=185829"},"modified":"2021-06-12T16:17:22","modified_gmt":"2021-06-12T23:17:22","slug":"grant-the-service-account-access-to-project-in-google-cloud-platform-gcp","status":"publish","type":"page","link":"https:\/\/m2msupport.net\/m2msupport\/grant-the-service-account-access-to-project-in-google-cloud-platform-gcp\/","title":{"rendered":"Grant the service account access to project in Google Cloud Platform (GCP)"},"content":{"rendered":"<p>When service account is created in GCP, there is an optional setting to grant access to the project. When project access is not granted,&nbsp;<a href=\"https:\/\/m2msupport.net\/m2msupport\/download-iot-cloud-tester\/\">IoT Cloud Tester<\/a>&nbsp; application cannot get the project details for the service account. The user will see the following error.<\/p>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/06\/sa_access_to_project3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-185834\" src=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/06\/sa_access_to_project3.png\" alt=\"\" width=\"847\" height=\"727\" srcset=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/06\/sa_access_to_project3.png 847w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/06\/sa_access_to_project3-300x257.png 300w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/06\/sa_access_to_project3-768x659.png 768w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/06\/sa_access_to_project3-600x515.png 600w\" sizes=\"auto, (max-width: 847px) 100vw, 847px\" \/><\/a><\/p>\n<h1>To grant the service account access to project in GCP,<\/h1>\n<ul>\n<li>When creating the service account in GCP console, select the option to grant the service account access to the project and set the role.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/06\/sa_access_to_project.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-185831\" src=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/06\/sa_access_to_project.png\" alt=\"\" width=\"1749\" height=\"930\" srcset=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/06\/sa_access_to_project.png 1749w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/06\/sa_access_to_project-300x160.png 300w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/06\/sa_access_to_project-768x408.png 768w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/06\/sa_access_to_project-1024x544.png 1024w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/06\/sa_access_to_project-600x319.png 600w\" sizes=\"auto, (max-width: 1749px) 100vw, 1749px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/06\/sa_access_to_project2-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-185833\" src=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/06\/sa_access_to_project2-1.png\" alt=\"\" width=\"1746\" height=\"939\" srcset=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/06\/sa_access_to_project2-1.png 1746w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/06\/sa_access_to_project2-1-300x161.png 300w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/06\/sa_access_to_project2-1-768x413.png 768w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/06\/sa_access_to_project2-1-1024x551.png 1024w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/06\/sa_access_to_project2-1-600x323.png 600w\" sizes=\"auto, (max-width: 1746px) 100vw, 1746px\" \/><\/a><\/p>\n<div class=\"video-responsive\"><iframe loading=\"lazy\" id=\"youTubePlayer\" src=\"https:\/\/www.youtube.com\/embed\/XggfnylKblI?hd=1\" width=\"750\" height=\"421\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n","protected":false},"excerpt":{"rendered":"<p>When service account is created in GCP, there is an optional setting to grant access to the project. When project access is not granted,&nbsp;IoT Cloud Tester&nbsp; application cannot get the project details for the service account. The user will see &hellip; <a href=\"https:\/\/m2msupport.net\/m2msupport\/grant-the-service-account-access-to-project-in-google-cloud-platform-gcp\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"iot_tutorial_template.php","meta":{"footnotes":""},"class_list":["post-185829","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/185829","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/comments?post=185829"}],"version-history":[{"count":1,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/185829\/revisions"}],"predecessor-version":[{"id":185836,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/185829\/revisions\/185836"}],"wp:attachment":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/media?parent=185829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}