Skip to main content
Chemistry LibreTexts

14.2: Creating a Google Service Account

  • Page ID
    472138
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    In order to programmatically upload data to a Google Cloud service your program needs to "log in", but your program is not a human being, and so you need to create a service account that allows you to run an authentication process.  As of March 2023 Google uses the OAuth 2.0 authentication framework

     

     

    1. Log into Google using the account you set up for this class and go to the cloud console (console.cloud.google.com/)

    2. Click on the Project dropdown box and choose new project

    clipboard_eb299dae0677b6fbc546215936a22c9f9.pngFigure \(\PageIndex{1}\):Screen capture for creating a new project. (Copyright; Belford cc 0.0)

    4. Give your project a name and create it.

    clipboard_eff821072c1a154ba3a87809b3c6532c4.pngFigure \(\PageIndex{2\):Creating a new project. (Copyright; Belford cc 0.0)

    5.  Now select your project (mine is PCompBobData

    clipboard_ec6f16a7d85b61cae30cf31ac7c14491a.pngFigure \(\PageIndex{1}\): Copy and Paste Caption here. (Copyright; author via source)

    Go to Navigation menu, choose APIs & Services/Credentials

    clipboard_ef76ccc90a5d3b4609cbfd79eb4cca264.pngFigure \(\PageIndex{3}\):Screen capture for creating a new project. (Copyright; Belford cc 0.0)

    6. Now choose CREATE CREDENTIALS and choose Service Account

    ect

    clipboard_ee04b5eb561b1e554e8bd3bebdf30c3b7.pngFigure \(\PageIndex{4}\):Screen capture for creating a new project. (Copyright; Belford cc 0.0)

    7. Give your account a name and create it.

    clipboard_edfe99a02f221f2b1b33fa490614bffd4.pngFigure \(\PageIndex{5}\):Screen capture for creating a new project. (Copyright; Belford cc 0.0)

    8. Set yourself up as the owner

    clipboard_e5fd4de5b1172655c44b1cdead76b3d8d.pngFigure \(\PageIndex{6}\):Screen capture for creating a new project. (Copyright; Belford cc 0.0)

    9.

    Complete the task

    clipboard_ef707e9c5700a75989ac930804b50bba1.pngFigure \(\PageIndex{7}\):Screen capture for creating a new project. (Copyright; Belford cc 0.0)

     


    This page titled 14.2: Creating a Google Service Account is shared under a not declared license and was authored, remixed, and/or curated by Robert Belford.

    • Was this article helpful?