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

Method FromAssumeRole

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

Source from the content-addressed store, hash-verified

307}
308
309S3Options S3Options::FromAssumeRole(
310 const std::string& role_arn, const std::string& session_name,
311 const std::string& external_id, int load_frequency,
312 const std::shared_ptr<Aws::STS::STSClient>& stsClient) {
313 S3Options options;
314 options.role_arn = role_arn;
315 options.session_name = session_name;
316 options.external_id = external_id;
317 options.load_frequency = load_frequency;
318 options.ConfigureAssumeRoleCredentials(role_arn, session_name, external_id,
319 load_frequency, stsClient);
320 return options;
321}
322
323S3Options S3Options::FromAssumeRoleWithWebIdentity() {
324 S3Options options;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected