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:
Go to the
get serviceAccountmethod of the API Explorer.
Enter your project name in the projectID field.
Click Authorize and execute.
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.
- Get an authorization access token from the OAuth 2.0 Playground. Configure the playground to use your own OAuth credentials.
curl -X GET -H "Authorization: Bearer [OAUTH2_TOKEN]" \ "https://www.googleapis.com/storage/v1/projects/[PROJECT_ID]/serviceAccount"