Browse Source

Merge pull request #3 from dabdine-r7/master

Use the default provider chain
boB Rudis 1 year ago
parent
commit
9ea7e9f82e
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      R/jdbc.r

+ 1
- 1
R/jdbc.r View File

@@ -22,7 +22,7 @@ setMethod(
22 22
   "AthenaDriver",
23 23
 
24 24
   def = function(drv,
25
-                 provider = "com.amazonaws.athena.jdbc.shaded.com.amazonaws.auth.EnvironmentVariableCredentialsProvider",
25
+                 provider = "com.amazonaws.athena.jdbc.shaded.com.amazonaws.auth.DefaultAWSCredentialsProviderChain",
26 26
                  region = "us-east-1",
27 27
                  s3_staging_dir = Sys.getenv("AWS_S3_STAGING_DIR"),
28 28
                  schema_name = "default",

Loading…
Cancel
Save