Get the service email via GCE metadata

gar_gce_auth_email(service_account = "default")

Arguments

service_account

Specify a different service account from the default

Useful if you don't know the default email and need it for other uses

Value

the email address character string

See also

gar_gce_auth