-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[C++] Writing to AWS S3 fails when using aws sso
(13.0.0)
#38013
Comments
aws sso
aws sso
(13.0.0)
aws sso
(13.0.0)aws sso
(13.0.0)
Wrapping the call around |
@rdbisme can you share what you mean with an example? |
should work (didn't test, but I think it does). @jayceslesar let me know! |
Thanks @rdbisme! it also looks like explicitly passing in an initialized |
C++ hack: $ eval $(aws configure export-credentials --format env) std::string access_key = std::getenv("AWS_ACCESS_KEY_ID");
std::string secret_key = std::getenv("AWS_SECRET_ACCESS_KEY");
std::string session_token = std::getenv("AWS_SESSION_TOKEN");
arrow::fs::S3Options options;
options.ConfigureAccessKey(access_key, secret_key, session_token) |
As a starting point, someone should post in that issue 1) what they are doing precisely 2) how it can/should be made to work. Currently the discussion seems to assume Arrow developers are S3 experts, which they are not. |
Describe the bug, including details regarding any error messages, version, and platform.
My org recently switched to using aws sso to configure all of our access and when making the swap, we noticed that we are no longer able to write to S3 when using these types of credentials. When explicitly setting the
AWS_SECRET_ACCESS_KEY
andAWS_ACCESS_KEY_ID
with previous IAM User accounts, the problem does not exist. For reference, once authenticating withaws sso login
and attempting to write some data, I am thrown the following error:Note also that
eval $(aws configure export-credentials --format env)
also does not seem to work as those areAWS_SECRET_ACCESS_KEY
andAWS_ACCESS_KEY_ID
from the sso login, which once exported also raise the same issueI have confirmed that this is not an issue in 12.0.1, only 13.0.0
Component(s)
Parquet
The text was updated successfully, but these errors were encountered: