GetDefaultServiceAccount

Get the email address of a project’s unique BigQuery service account.

Each Google Cloud project has a unique service account used by BigQuery. When using BigQuery with customer-managed encryption keys, this account needs to be granted the cloudkms.cryptoKeyEncrypterDecrypter IAM role on the customer-managed Cloud KMS key used to protect the data.

For more information see the API reference.

Using GetDefaultServiceAccount

function getDefaultServiceAccount(args: GetDefaultServiceAccountArgs, opts?: InvokeOptions): Promise<GetDefaultServiceAccountResult>
function  get_default_service_account(project=None, opts=None)
func GetDefaultServiceAccount(ctx *Context, args *GetDefaultServiceAccountArgs, opts ...InvokeOption) (*GetDefaultServiceAccountResult, error)
public static class GetDefaultServiceAccount {
    public static Task<GetDefaultServiceAccountResult> InvokeAsync(GetDefaultServiceAccountArgs 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.

Project string

The project the unique service account was created for. If it is not provided, the provider project is used.

project string

The project the unique service account was created for. If it is not provided, the provider project is used.

project str

The project the unique service account was created for. If it is not provided, the provider project is used.

GetDefaultServiceAccount Result

The following output properties are available:

Email 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
Email 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
email 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
email 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

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.