Get Service Account
Gets a ServiceAccount.
External Documentation
To learn more, visit the GCP documentation.
Parameters
Parameter | Description |
---|---|
Project ID | The name of the parent project to access. As an alternative, you can use the - wildcard character instead of the project ID. When possible, avoid using the - wildcard character because it can cause response messages to contain misleading error codes. For example, if you try to access the service account proejcts/-/serviceAccounts/fake@example.com, which does not exist, the response contains an HTTP 403 Forbidden error instead of a 404 Not Found error. |
Service Account ID | The resource name of the service account. Can either be a email address or it's unique ID. This information can be retrieved using the "List Service Accounts" action. |
Example Output
{
"name": "projects/test/serviceAccounts/test@blinkops.com",
"projectId": "test",
"uniqueId": "113634099242885169056",
"email": "test@blinkops.com",
"displayName": "Compute Engine default service account",
"etag": "MDEwMjE5MjA=",
"oauth2ClientId": "12345678910"
}
Workflow Library Example
Get Service Account with Gcp and Send Results Via Email