-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
closed-for-stalenessguidanceQuestion that needs advice or information.Question that needs advice or information.response-requestedWaiting on additional info or feedback. Will move to "closing-soon" in 5 days.Waiting on additional info or feedback. Will move to "closing-soon" in 5 days.
Description
Hello, looks like java sdk doesn't support aws service authentication on a proxy. I have a proxy server with a iam role for s3 bucket access attached. When I use aws cli to access my s3 bucket via this proxy(HTTP_PROXY=http://proxy_host:proxy_port), it works. I don't have any credentials configured one the machine where I issue aws cli command. However, on same machine, using aws java sdk, I can't access s3 bucket via same proxy because aws java sdk requires a credentials. there doesn't seem to be any credential providers available for this scenario.
In a short:
- aws cli (no credentials -> proxy server (iam role configured) -> s3 -> SUCCESS
- aws java sdk (no credential) -> proxy server (iam role configured) -> s3 -> FAILURE (can't create client without credential)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
closed-for-stalenessguidanceQuestion that needs advice or information.Question that needs advice or information.response-requestedWaiting on additional info or feedback. Will move to "closing-soon" in 5 days.Waiting on additional info or feedback. Will move to "closing-soon" in 5 days.