cr_setup_auth: Create a service account for googleCloudRunner

View source: R/setup_auth.R

cr_setup_authR Documentation

Create a service account for googleCloudRunner

Description

This will use your Google OAuth2 user to create a suitable service account

Usage

cr_setup_auth(
  email = Sys.getenv("GARGLE_EMAIL"),
  file = "googlecloudrunner-auth-key.json",
  session_user = NULL
)

Arguments

email

What email to open OAuth2 with

file

Where to save the authentication file

session_user

1 for user level, 2 for project level, leave NULL to be prompted

Value

TRUE if the file is ready to be setup by cr_setup, FALSE if need to stop

See Also

Other setup functions: cr_setup_service(), cr_setup_test(), cr_setup()


googleCloudRunner documentation built on March 18, 2022, 8 p.m.