edl_s3_token {earthdatalogin}R Documentation

Receive and set temporary AWS Tokens for S3 access

Description

Note that these S3 credentials will only work:

Usage

edl_s3_token(
  daac = "https://data.lpdaac.earthdatacloud.nasa.gov",
  username = default("user"),
  password = default("password"),
  prompt_for_netrc = interactive()
)

Arguments

daac

the base URL for the DAAC

username

EarthDataLogin user

password

EarthDataLogin Password

prompt_for_netrc

Often netrc is preferable, so this function will by default prompt the user to switch. Set to FALSE to silence this.

Details

Please consider using edl_netrc() to avoid these limitations

Value

list of access key, secret key, session token and expiration, invisibly. Also sets the corresponding AWS environmental variables.

Examples


edl_s3_token()


[Package earthdatalogin version 0.0.2 Index]