flyio_auth: Authenticate flyio

Description Usage Arguments Examples

View source: R/flyio_auth.R

Description

Authenticate any of the cloud storage platforms to perform any I/O

Usage

1
2
3
flyio_auth(auth_list = "", data_source = flyio_get_datasource(),
  scope = "https://www.googleapis.com/auth/devstorage.full_control",
  awsprofile = "default")

Arguments

auth_list

path to the json file or the system environment name in case of gcs. For s3 a vector for access_key, secret_access_key, region (optional; default us-east-1) and session_id (optional); this could also be a single comma-separated string. If left blank, then for s3 it will pick from ~/.aws/credentials file

data_source

default to local. Possible options : gcs, s3, local. Case insensitive

scope

the scope of the auth if gcs. Default: https://www.googleapis.com/auth/devstorage.full_control

awsprofile

if auth_list = "", which profile to use from ~/.aws/credentials

Examples

1
2

flyio documentation built on Oct. 31, 2019, 4:59 p.m.