Skip to contents

Establishes authentication with the specified cloud provider. Skips re-authentication if a valid token already exists.

Usage

cloud_storage_authenticate(provider, options, force = FALSE)

Arguments

provider

A character string specifying the cloud provider ("gcs" or "aws").

options

A named list of options specific to the cloud provider. For GCS, must include `service_account_key`.

force

A logical value indicating whether to force re-authentication. Default is FALSE.

Value

Invisible NULL (called for side effects).