Getting the Cloud Storage service account

This page describes how to find the email address of a project's Cloud Storage service account. For an overview of Cloud Storage service accounts, including when they're created and how they're used, see Service Accounts for Cloud Storage. For a general overview of service accounts in Google Cloud Platform, see Service Accounts.

To get the email address of a project's Cloud Storage service account:


  1. Go to the get serviceAccount method of the API Explorer.

    Open the API Explorer

  2. Enter your project name in the projectID field.

  3. Click Authorize and execute.

  4. In the Select OAuth 2.0 scopes overlay that appears, click Authorize and execute.

    The email address appears in the Response section of the page.


  1. Get an authorization access token from the OAuth 2.0 Playground. Configure the playground to use your own OAuth credentials.
  2. Use cURL to call the JSON API with a GET serviceAccount request, replacing [VALUES_IN_BRACKETS] with the appropriate values:

    curl -X GET -H "Authorization: Bearer [OAUTH2_TOKEN]" \
Apakah halaman ini membantu? Beri tahu kami pendapat Anda:

Kirim masukan tentang...

Cloud Storage
Butuh bantuan? Kunjungi halaman dukungan kami.