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:

Browser

  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.

JSON API

  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]" \
    "https://www.googleapis.com/storage/v1/projects/[PROJECT_ID]/serviceAccount"
Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Storage
Need help? Visit our support page.