You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/09/29 00:39:04 UTC
[GitHub] [arrow-rs] wjones127 opened a new issue, #2802: object_store: support AWS ECS instance credentials
wjones127 opened a new issue, #2802:
URL: https://github.com/apache/arrow-rs/issues/2802
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
For EC2, we look at a certain hardcoded IP address to get credentials:
https://github.com/apache/arrow-rs/blob/178319b9f0978fa9be538661981fbfc5925dc17c/object_store/src/aws/credential.rs#L295
For ECS / Fargate, this address needs to be appended with a particular endpoint:
```
169.254.170.2$AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
```
See: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html
**Describe the solution you'd like**
<!--
A clear and concise description of what you want to happen.
-->
**Describe alternatives you've considered**
<!--
A clear and concise description of any alternative solutions or features you've considered.
-->
**Additional context**
This was reported downstream at https://github.com/delta-io/delta-rs/issues/854
--
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: github-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] object_store: support AWS ECS instance credentials [arrow-rs]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #2802:
URL: https://github.com/apache/arrow-rs/issues/2802#issuecomment-2741686597
Migrating from arrow-rs issue [#2802](https://github.com/apache/arrow-rs/issues/2802)
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] tustvold closed issue #2802: object_store: support AWS ECS instance credentials
Posted by GitBox <gi...@apache.org>.
tustvold closed issue #2802: object_store: support AWS ECS instance credentials
URL: https://github.com/apache/arrow-rs/issues/2802
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] timvw commented on issue #2802: object_store: support AWS ECS instance credentials
Posted by GitBox <gi...@apache.org>.
timvw commented on issue #2802:
URL: https://github.com/apache/arrow-rs/issues/2802#issuecomment-1262516425
Does the approach suggested in https://github.com/datafusion-contrib/datafusion-cookbook/tree/main/content/docs/s3-sdk-credentials work for you? (eg: works for me when using aws sso profiles)
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] tustvold commented on issue #2802: object_store: support AWS ECS instance credentials
Posted by GitBox <gi...@apache.org>.
tustvold commented on issue #2802:
URL: https://github.com/apache/arrow-rs/issues/2802#issuecomment-1262852433
I would recommend:
* Provide an option on `AmazonS3Builder` to override the metadata endpoint
* Update [from_env](https://docs.rs/object_store/latest/object_store/aws/struct.AmazonS3Builder.html#method.from_env) to understand `AWS_CONTAINER_CREDENTIALS_RELATIVE_URI`
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org