Skip to content
Snippets Groups Projects
Select Git revision
2 results Searching

example_credentials_script.R

Blame
  • example_credentials_script.R 236 B
    # Set environment variables to authenticate access to AWS S3 bucket
    # Use in conjunction with aws.s3 package
    
    Sys.setenv(
      "AWS_ACCESS_KEY_ID" = "mykey",
      "AWS_SECRET_ACCESS_KEY" = "mysecretkey",
      "AWS_DEFAULT_REGION" = "eu-west-2"
    )