MCPcopy Create free account
hub / github.com/apache/arrow / ConfigureAccessKey

Method ConfigureAccessKey

cpp/src/arrow/filesystem/s3fs.cc:247–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247void S3Options::ConfigureAccessKey(const std::string& access_key,
248 const std::string& secret_key,
249 const std::string& session_token) {
250 credentials_provider = std::make_shared<Aws::Auth::SimpleAWSCredentialsProvider>(
251 ToAwsString(access_key), ToAwsString(secret_key), ToAwsString(session_token));
252 credentials_kind = S3CredentialsKind::Explicit;
253}
254
255void S3Options::ConfigureAssumeRoleCredentials(
256 const std::string& role_arn, const std::string& session_name,

Callers 5

MakeNewFileSystemMethod · 0.80
SetUpMethod · 0.80
FromAccessKeyMethod · 0.80
FromUriMethod · 0.80
MakeFileSystemMethod · 0.80

Calls 1

ToAwsStringFunction · 0.85

Tested by 2

MakeNewFileSystemMethod · 0.64
SetUpMethod · 0.64