parisni commented on issue #4118: URL: https://github.com/apache/kyuubi/issues/4118#issuecomment-1411045296
well actually spark inherits aws s3 access from hadoop see https://hadoop.apache.org/docs/r2.8.0/hadoop-aws/tools/hadoop-aws/index.html#Changing_Authentication_Providers. there is multiple way to get access: - simple access key / secret `SimpleAWSCredentialsProvider` - temporary token `org.apache.hadoop.fs.s3a.TemporaryAWSCredentialsProvider` you can also provide vendor credential providers such `com.amazonaws.auth.WebIdentityTokenCredentialsProvider` https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/auth/WebIdentityTokenCredentialsProvider.html when spark deal with the fs it then handle the s3 access with hadoop code -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
