dosubot[bot] commented on issue #6346:
URL: https://github.com/apache/opendal/issues/6346#issuecomment-3017689234

   <!-- Answer -->
   OpenDAL’s S3 backend is designed to prioritize explicit credentials (like 
access_key_id and secret_access_key) over environment variables and metadata 
services. If you’re seeing requests to the AWS metadata endpoint even when 
explicit credentials are set, this is likely a bug or a misconfiguration. There 
is a config option, disable_ec2_metadata, that disables loading credentials 
from EC2 metadata—setting this should prevent any metadata service calls and 
may serve as a workaround if your config system supports it. There’s also 
disable_config_load to prevent loading from environment variables or AWS config 
files. You can see these options in the S3Config struct and their intended 
behavior in the codebase 
([source](https://github.com/apache/opendal/blob/ef98b859384bab3e64a2f0d9fccb85d16b24b14b/core/src/services/s3/config.rs)).
   
   If GreptimeDB’s configuration doesn’t expose these options, you may want to 
check if there’s a way to pass them through, or report this limitation 
upstream. Let me know if you need help mapping these options to your config or 
want to dig deeper into the credential resolution flow.
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/00faed9a-0f84-4ded-ad77-268d15e5e58f?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/00faed9a-0f84-4ded-ad77-268d15e5e58f?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/00faed9a-0f84-4ded-ad77-268d15e5e58f?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/00faed9a-0f84-4ded-ad77-268d15e5e58f?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/00faed9a-0f84-4ded-ad77-268d15e5e58f?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/00faed9a-0f84-4ded-ad77-268d15e5e58f?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/00faed9a-0f84-4ded-ad77-268d15e5e58f?feedback_type=other)</sup>&nbsp;&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[!
 [Share on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/opendal/issues/6346)


-- 
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]

Reply via email to