Skip to content

authentication at proxy is not supported #2526

Closed
@milesqi

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)

Metadata

Assignees

No one assigned

    Labels

    closed-for-stalenessguidanceQuestion that needs advice or information.response-requestedWaiting on additional info or feedback. Will move to "closing-soon" in 5 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions