GetProjectServiceAccount
Get the email address of a project’s unique Google Cloud Storage service account.
Each Google Cloud project has a unique service account for use with Google Cloud Storage. Only this
special service account can be used to set up gcp.storage.Notification resources.
For more information see the API reference.
Using GetProjectServiceAccount
function getProjectServiceAccount(args: GetProjectServiceAccountArgs, opts?: InvokeOptions): Promise<GetProjectServiceAccountResult>function get_project_service_account(project=None, user_project=None, opts=None)func GetProjectServiceAccount(ctx *Context, args *GetProjectServiceAccountArgs, opts ...InvokeOption) (*GetProjectServiceAccountResult, error)public static class GetProjectServiceAccount {
public static Task<GetProjectServiceAccountResult> InvokeAsync(GetProjectServiceAccountArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Project string
The project the unique service account was created for. If it is not provided, the provider project is used.
- User
Project string The project the lookup originates from. This field is used if you are making the request from a different account than the one you are finding the service account for.
- Project string
The project the unique service account was created for. If it is not provided, the provider project is used.
- User
Project string The project the lookup originates from. This field is used if you are making the request from a different account than the one you are finding the service account for.
- project string
The project the unique service account was created for. If it is not provided, the provider project is used.
- user
Project string The project the lookup originates from. This field is used if you are making the request from a different account than the one you are finding the service account for.
- project str
The project the unique service account was created for. If it is not provided, the provider project is used.
- user_
project str The project the lookup originates from. This field is used if you are making the request from a different account than the one you are finding the service account for.
GetProjectServiceAccount Result
The following output properties are available:
- Email
Address string The email address of the service account. This value is often used to refer to the service account in order to grant IAM permissions.
- Id string
The provider-assigned unique ID for this managed resource.
- Project string
- User
Project string
- Email
Address string The email address of the service account. This value is often used to refer to the service account in order to grant IAM permissions.
- Id string
The provider-assigned unique ID for this managed resource.
- Project string
- User
Project string
- email
Address string The email address of the service account. This value is often used to refer to the service account in order to grant IAM permissions.
- id string
The provider-assigned unique ID for this managed resource.
- project string
- user
Project string
- email_
address str The email address of the service account. This value is often used to refer to the service account in order to grant IAM permissions.
- id str
The provider-assigned unique ID for this managed resource.
- project str
- user_
project str
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.